 
     return splitView
 
+  getSplitByName: (name) ->
+    return @splitViews[name] or null
+
   emitResizedEventToPanes: ->
     pane.emit "PaneResized" for pane in @getDelegate().panes
class WorkspaceLayout extends KDSplitComboView

  init: ->
    {direction, sizes, views} = @getOptions().layoutOptions
    @addSubView @createSplitView direction, sizes, views

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

    viewsConfig.forEach (config, index) =>
      if config.type is "split"
        {options} = config
        views.push @createSplitView options.direction, options.sizes, config.views
      else
        wrapper = new KDView
        wrapper.on "viewAppended", =>

        views.push wrapper

    splitView = new SplitViewWithOlderSiblings { type, sizes, views }
    @splitViews[@baseSplitName] = splitView  if @baseSplitName
    splitView.on "ResizeDidStop", => @emitResizedEventToPanes()

    splitView.on "viewAppended", =>
