 
     return splitView
 
+  getSplitByName: (name) ->
+    return @splitViews[name] or null
+
   emitResizedEventToPanes: ->
     pane.emit "PaneResized" for pane in @getDelegate().panes
        views.push wrapper

    splitView = new SplitViewWithOlderSiblings { type, sizes, views }
    splitView.on "ResizeDidStop", => @emitResizedEventToPanes()

    splitView.on "viewAppended", =>

class WorkspaceLayout extends KDSplitComboView

  init: ->
    @splitViews    = {}
    {direction, sizes, views, splitName} = @getOptions().layoutOptions
    @baseSplitName = splitName

    @addSubView @createSplitView direction, sizes, views, splitName

  createSplitView: (type, sizes, viewsConfig, splitName) ->
    views = []

    viewsConfig.forEach (config, index) =>
      if config.type is "split"
        {options}   = config
        {splitName} = options

        splitView = @createSplitView options.direction, options.sizes, config.views
        @splitViews[splitName] = splitView  if splitName
        views.push splitView
      else
        wrapper = new KDView
        wrapper.on "viewAppended", =>
