Ext.ns('ES');

ES.physicDatasFormWindow = Ext.extend(Ext.Window,{
  title: 'Ajout de vos données physiques',
  closable:true,
  width: 710,
  height: 530,
  layout: 'Table'
  ,layoutConfig: {
      columns: 2
  }
  ,initComponent:function() {
    var config = {items:[{
      xtype:'ESphysicdatasform'
    },{
      xtype:'ESphysicdatasformareahelp'
    }]};
    // apply config
    Ext.apply(this, Ext.apply(this.initialConfig, config));
    // call parent initComponent
    ES.physicDatasFormWindow.superclass.initComponent.call(this);
    this.doLayout();
  } // end of function initComponent
  ,onRender:function() {
    // call parent
    ES.physicDatasFormWindow.superclass.onRender.apply(this, arguments);
//    this.physicDatasForm = this.items.itemAt(0);
//    this.physicDatasFormAreaHelp = this.items.itemAt(1);
    // after parent code, e.g. install event handlers on rendered components
  } // eo function onRender
});

Ext.reg('ESphysicdatasformwindow', ES.physicDatasFormWindow);
