     for title in paneTitlesArray
       @addPane pane = new @tabConstructor title : title,null
       pane.setTitle title
-  
+
   addPane:(paneInstance)->
-    if paneInstance instanceof KDTabPaneView 
+    if paneInstance instanceof KDTabPaneView
       @panes.push paneInstance
       tabHandleClass = @getOptions().tabHandleView ? KDTabHandleView
       @addHandle newTabHandle = new tabHandleClass

      handle.setClass "hidden" if handle.getOptions().hidden
      return handle
    else
      warn "You can't add #{handle.constructor.name if handle?.constructor?.name?} as a pane, use KDTabHandleView instead." 

  removeHandle:()->


        title   : paneInstance.options.name
        hidden  : paneInstance.options.hiddenHandle
        view    : paneInstance.options.tabHandleView
      paneInstance.tabHandle = newTabHandle
      @listenTo
        KDEventTypes : "click"
        listenedToInstance : newTabHandle
        callback : @handleMouseDownDefaultAction
      @appendPane paneInstance
      @showPane paneInstance
      @emit "PaneAdded", paneInstance
      return paneInstance
    else
      warn "You can't add #{paneInstance.constructor.name if paneInstance?.constructor?.name?} as a pane, use KDTabPaneView instead."
      false

  removePane:(pane)->
