Ext.ns('energy');

energy.counterModifyFormWindow = Ext.extend(Ext.Window,{
  title: 'Modification du compteur',
//  closable:true,
  width: 610,
  height: 315,
  layout: 'column',
  defaults: {
    columnWidth: 1
  }
  ,initComponent:function() {
    var config = {
      items:[{
        xtype:'energycountermodifyform'
        ,height: 260
        ,padding: '10px'
      }]
    };
    // apply config
    Ext.apply(this, Ext.apply(this.initialConfig, config));
    // call parent initComponent
    energy.counterModifyFormWindow.superclass.initComponent.call(this);

  } // end of function initComponent
  ,onRender:function() {
    // call parent
    energy.counterModifyFormWindow.superclass.onRender.apply(this, arguments);
    // after parent code, e.g. install event handlers on rendered components

  } // eo function onRender
});

Ext.reg('watercountermodifyformwindow', energy.counterModifyFormWindow);
