     @createStackNameInput()
     @addSubView @tabView = new KDTabView hideHandleCloseIcons: yes
 
-    @stackTemplateView                 = new StackTemplateView options, data
+    @editorViews = {}
+
+    @editorViews.stackTemplate = @stackTemplateView = new StackTemplateView options, data
     @tabView.addPane stackTemplatePane = new KDTabPaneView
       name : 'Stack Template'
       view : @stackTemplateView
 
-    @variablesView                     = new VariablesView {
+    @editorViews.variables     = @variablesView     = new VariablesView {
       delegate: this
       stackTemplate
     }


    @tabView.on 'PaneDidShow', (pane) ->
      pane.mainView?.editorView?.resize()

  isStackChanged: ->


_                    = require 'lodash'
kd                   = require 'kd'
jspath               = require 'jspath'
Encoder              = require 'htmlencode'
