 
   constructor:(options={}, data)->
 
-    options.cssClass or= "content-page"
     data or= {}
     super options, data
 


    data = @getData()

    for {name, lazy, itemClass} in tabData
      @tabs.addPane new KDTabPaneView {
        view : {itemClass, data}
        name
        lazy
      }

  _windowDidResize:->
    contentHeight = @getHeight() - @header.getHeight()

class EnvironmentsMainView extends JView

  tabData = [
    name        : 'VMS'
    viewOptions :
      lazy      : no
      viewClass : VMMainView
  ,
    name        : 'Domains'
    viewOptions :
      lazy      : yes
      viewClass : DomainMainView
  ]

  navData =
