/**
 * @class Roo.gui.ContentPanel
 * @extends Ext.Panel
 *
 * The ContentPanel is located right in the application.
 * It contains the large map and information panel(s) right of the map.
 *
 * @author ssmeman
 * @version 1.0
 */

/**
 * @constructor
 * @param {Object} config Configuration options
 */
Roo.gui.ContentPanel = Ext.extend(Ext.Panel, {

	aboutPanel_titleText: messages.contentPanel.aboutPanel.title()

	// soft config
	,id: 'contentPanel'
	,border: false
	,layout: 'border'

	,initComponent: function() {

		// hard coded
		var config = {
			region: 'center'
			,activeTab: 0
			,plain: true

			,defaults : {
				border:false
			}

	    	,items: [{
	    		xtype: 'statusPanel'
	    	},{
	    		xtype: 'largemapPanel'
	    	},{
	    		xtype: 'infoPanel'
				,width: 300
				,minSize: 200
				,maxSize: 400
				,split:true
			}]
		};

		// apply config
		Ext.apply(this, config);
		Ext.apply(this.initialConfig, config);

		// call parent
		Roo.gui.ContentPanel.superclass.initComponent.apply(this, arguments);
	}
});

Ext.reg('contentPanel', Roo.gui.ContentPanel);
