 class EnvironmentsMainView extends JView
 
   tabData = [
-    { name : 'VMs',              lazy : no,   itemClass : VMMainView }
-    { name : 'Domains',          lazy : yes,  itemClass : DomainMainView }
+    name        : 'VMS'
+    viewOptions :
+      lazy      : no
+      viewClass : VMMainView
+  ,
+    name        : 'Domains'
+    viewOptions :
+      lazy      : yes
+      viewClass : DomainMainView
   ]
 
   navData =


    data = @getData()

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

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


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

    data or= {}
    super options, data

