Ext.ns('ES');

ES.HeatingCenterPanel = Ext.extend(Ext.Panel,{
  layout: 'column'
  ,defaults: {
    columnWidth: 1,
    style: {
      padding: '10px'
    }
  }
  ,bodyStyle: 'padding:5px'
  ,initComponent:function() {
    // hard coded config - cannot be changed from outside
    var config = {
      items:[{
        xtype:'ESheatingcounterinfos',
        hidden:true
      },{
        xtype:'ESheatingcounterentriesgrid'
        ,hidden:true
        ,height:300
      }]
    };
    // apply config
    Ext.apply(this, Ext.apply(this.initialConfig, config));
    // call parent initComponent
    ES.HeatingCenterPanel.superclass.initComponent.call(this);
  } // end of function initComponent
  ,onRender:function() {
    // call parent
    ES.HeatingCenterPanel.superclass.onRender.apply(this, arguments);
    // after parent code, e.g. install event handlers on rendered components
  } // eo function onRender
});

Ext.reg('ESheatingcenterpanel', ES.HeatingCenterPanel);



