Ext.ns('ES');

ES.waterCounterFormWindow = Ext.extend(Ext.Window,{
  title: 'Creation d un nouveau compteur eau',
  closable:true,
  width: 610,
  height: 200,
  layout: 'fit'
  ,initComponent:function() {
    var config = {
      items:[{
        xtype:'ESwatercounterform'
        ,height: 130
        ,padding: '10px'
      }]
    };
    // apply config
    Ext.apply(this, Ext.apply(this.initialConfig, config));
    // call parent initComponent
    ES.waterCounterFormWindow.superclass.initComponent.call(this);

  } // end of function initComponent
  ,onRender:function() {
    // call parent
    ES.waterCounterFormWindow.superclass.onRender.apply(this, arguments);
    // after parent code, e.g. install event handlers on rendered components

  } // eo function onRender
});

Ext.reg('ESwatercounterformwindow', ES.waterCounterFormWindow);
