     srcPane.activateItem(dstItem)
   srcPane.activate()
 
-moveAllPaneItems = (srcPane, dstPane) ->
-  activeItem = srcPane.getActiveItem() # remember ActiveItem
-  srcPane.moveItemToPane(item, dstPane, i) for item, i in srcPane.getItems()
-  dstPane.activateItem(activeItem)
-
 reparent = (paneAxis) ->
   debug("reparent")
   parent = paneAxis.getParent()

    if i is 0
      parent.replaceChild(paneAxis, child)
    else
      parent.insertChildAfter(anchorChild, child)
    anchorChild = child
  paneAxis.destroy()

getAllPaneAxis = (paneAxis, results=[]) ->

    results.push(child)
    getAllPaneAxis(child, results)
  results

PaneAxis = null
Pane = null
