     steps.first()
 
 
-  createEditorPane: (content) ->
-
-    content = Encoder.htmlDecode content
-    file    = FSHelper.createFileInstance path: 'localfile:/stack.json'
-
-    @addSubView editorContainer = new kd.View
-    editorContainer.setCss height: '240px'
-
-    editorContainer.addSubView @editorPane = new IDEEditorPane {
-      file, content, delegate: this
-    }
-
-    @editorPane.setCss background: 'black'
-
-
   createCredentialsBox: ->
 
     creds = ({title: c.title, value: c.publicKey} for c in @_credentials)

    @addSubView @credentialBox = new kd.SelectBox
      name          : "credential"
      selectOptions : creds


  createOutputView: ->

    @outputView = new kd.View
    @outputView.setCss height: 'auto'

    @addSubView @outputView


  checkCredential: (callback) ->

    selected   = @credentialBox.getValue()
    credential = cred for cred in @_credentials when cred.publicKey is selected

    credential.isBootstrapped (err, state) ->
      return callback err  if err

      callback if not state then {
        message: 'Credential is not bootstrapped yet.'
      } else null


  fetchData: (callback) ->

module.exports     = class GroupStackSettings extends kd.View

  StacksCustomViews.mixin @prototype

  constructor: (options = {}, data) ->

