         indexKey  : indexKey
 
     @workspace.addToHistory "$0 opened a new editor"  if isLocal
+
+  openFile: (file, content) ->
+    @createEditor file, content
 
   createTerminal: (sessionKey, indexKey) ->
     indexKey = indexKey or @createSessionKey()

        callback  : => @createEditor()
      "Terminal"  :
        callback  : => @createTerminal()
      "Preview"   :
        callback  : => @createPreview()
      "Chat"      :
        callback  : => @createChat()
      "Drawing Board":
        callback  : => @createDrawingBoard()
    }

  createTabFromFirebaseData: (data) ->

        indexKey : "dashboard"


  createDrawingBoard: (sessionKey, indexKey) ->
    indexKey  = indexKey or @createSessionKey()
    pane      = new KDTabPaneView { title: "Drawing Board", indexKey }
