       "tabbedEditor"     : @TabbedEditorPaneClass
 
     return  paneTypesToPaneClass[paneType]
-
-  # createSplitView: (type, views) ->
-  #   splitView = new SplitViewWithOlderSiblings {
-  #     resizable : yes
-  #     sizes     : ["50%", "50%"]
-  #     type
-  #     views
-  #   }
-  #   splitView.on "ResizeDidStop", =>
-  #     for pane in @splitView.panelPanes
-  #       pane.getSubViews().first.emit "PaneResized"
-  #   return  splitView
-
-  # createSingleLayout: ->
-  #   view       = new KDView
-  #     cssClass : "panel-container"
-
-  #   @container.addSubView view
-  #   @panesContainer.push view
-
-  # createDoubleLayout: ->
-  #   pane1      = new KDView
-  #   pane2      = new KDView
-  #   @splitView = @createSplitView "vertical", [pane1, pane2]
-
-  #   @container.addSubView @splitView
-  #   @panesContainer.push pane1, pane2
-  #   @splitView.panelPanes = [pane1, pane2]
-
-  # createTripleLayout: ->
-  #   pane1           = new KDView
-  #   pane2           = new KDView
-  #   pane3           = new KDView
-  #   rightInnerSplit = @createSplitView "horizontal", [pane2, pane3]
-  #   @splitView      = @createSplitView "vertical", [pane1, rightInnerSplit]
-
-  #   @container.addSubView @splitView
-  #   @panesContainer.push pane1, pane2, pane3
-  #   @splitView.panelPanes = [pane1, pane2, pane3]
-
-  # createQuadrupleLayout: ->
-  #   pane1             = new KDView
-  #   pane2             = new KDView
-  #   pane3             = new KDView
-  #   pane4             = new KDView
-  #   leftInnerSplit    = @createSplitView "horizontal", [pane1, pane2]
-  #   rightInnerSplit   = @createSplitView "horizontal", [pane3, pane4]
-  #   @splitView        = @createSplitView "vertical",   [leftInnerSplit, rightInnerSplit]
-
-  #   @container.addSubView @splitView
-  #   @panesContainer.push pane1, pane2, pane3, pane4
-  #   @splitView.panelPanes = [pane1, pane2, pane3, pane4]
 
   showHintModal: ->
     options        = @getOptions()

  viewAppended: ->
    super
    @getDelegate().emit "NewPanelAdded", @
    # @createPanes()

  pistachio: ->
    """

    else
      warn "no layout config or pane passed to create a panel"

  createPane: (paneOptions) ->
    PaneClass            = @getPaneClass paneOptions.type
    paneOptions.delegate = @
    pane                 = new PaneClass paneOptions

    @panes.push pane
    @emit "NewPaneCreated", pane
    return  pane

  getPaneClass: (paneType) ->
    paneTypesToPaneClass =
