Ext.ns('ES');

ES.ElectricityCounterEntry_FormWindow = Ext.extend(Ext.Window,{
  title: 'Ajout d une consommation d electricité',
  closable:true,
  width: 410,
  height: 330,
  layout: 'column',
  defaults: {
    columnWidth: 1,
    style: {
      padding: '10px'
    }
  }
  ,initComponent:function() {
    var config = {items:[{
      xtype:'ESelectricitycounterentryform'
    }]};
    // apply config
    Ext.apply(this, Ext.apply(this.initialConfig, config));
    // call parent initComponent
    ES.ElectricityCounterEntry_FormWindow.superclass.initComponent.call(this);
  } // end of function initComponent
  ,onRender:function() {
    // call parent
    ES.ElectricityCounterEntry_FormWindow.superclass.onRender.apply(this, arguments);
    // after parent code, e.g. install event handlers on rendered components
  } // eo function onRender
});
Ext.reg('ESelectricitycounterentryformwindow', ES.ElectricityCounterEntry_FormWindow);
