 
   viewAppended: ->
     super
-    @getDelegate().emit "NewPanelAdded", @
+    @getDelegate().emit "NewPanelAdded", this
 
   pistachio: ->
     """

    if pane
      newPane = @createPane pane
      @container.addSubView newPane
      @getDelegate().emit "AllPanesAddedToPanel", @, [newPane]
    else if layout
      @layoutContainer = new WorkspaceLayout
        delegate      : @
        layoutOptions : layout

      @container.addSubView @layoutContainer
    else


  getPaneClass: (paneOptions) ->
    paneType             = paneOptions.type
    paneOptions.delegate = this

    if paneType is "custom"
      PaneClass = paneOptions.paneClass
