 
   writeSnapshot: ->
 
-    return  if @isMachineNotRunning()
+    return  unless @isMachineRunning()
 
     name  = @getWorkspaceSnapshotName()
     value = @getWorkspaceSnapshot()

    filesPane.emit 'MachineUnmountRequested', machineData


  isMachineNotRunning: ->

    states    = [ 'Stopped', 'NotInitialized', 'Terminated', 'Starting', 'Building' ]
    { state } = @mountedMachine.status

    return states.indexOf(state) > -1


  createInitialView: ->


  resurrectLocalSnapshot: (snapshot) ->

    for key, value of snapshot when value
      @createPaneFromChange value, yes


  toggleFullscreenIDEView: ->
