     @_panel.removeDecorations()
     @_panelWorkspace.destroy()
     @_removeBubble()
+
+  _changeTab: (Tab)->
+    @_scope = Tab
+    @_bottomTabProject.active = Tab is 'project'
+    @_bottomTabFile.active = Tab is 'file'
+    @_renderPanel()
 
   _removeBubble: ->
     return unless @_bubble

      )
      break

  # consumed in views/bottom-tab-{file, project}
  changeTab: (Tab)->
    @_scope = Tab
    @_bottomTabProject.active = Tab is 'project'
    @_bottomTabFile.active = Tab is 'file'
    @_renderPanel()

  # consumed in views/panel
  setPanelVisibility: (Status)->
    if Status

    @_bottomStatus = new BottomStatus()

    @_bottomTabFile.initialize("Current File", =>
      @_changeTab('file')
    )
    @_bottomTabProject.initialize("Project", =>
      @_changeTab('project')
    )
    @_bottomStatus.initialize()
    @_panelWorkspace = atom.workspace.addBottomPanel item: @_panel, visible: false
