PlotStatusBarForm.js
655 Bytes
/**
* Project : AMDA-NG
* Name : PlotStatusBarForm.js
* @class amdaPlotComp.PlotStatusBarForm
* @extends amdaPlotComp.PlotStandardForm
* @brief Form to define specifics status bar options
* @author Benjamin Renard
* @version $Id: PlotStatusBarForm.js benjamin $
*/
Ext.define('amdaPlotComp.PlotStatusBarForm', {
extend: 'amdaPlotComp.PlotStandardForm',
setObject : function(object) {
this.object = object.get('param-drawing-object');
this.loadRecord(this.object);
},
getFormItems: function() {
return [this.addColorsPicker('statusbar-color', 'Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none')
];
}
});