PlotIntervalsForm.js 655 Bytes
/**
 * Project   : AMDA-NG
 * Name      : PlotIntervalsForm.js
 * @class   amdaPlotComp.PlotIntervalsForm
 * @extends amdaPlotComp.PlotStandardForm
 * @brief   Form to define specifics intervals options
 * @author  Benjamin Renard
 * @version $Id: PlotIntervalsForm.js benjamin $
 */

Ext.define('amdaPlotComp.PlotIntervalsForm', {
	extend: 'amdaPlotComp.PlotStandardForm',
	
	setObject : function(object) {
		this.object = object.get('param-drawing-object');
		this.loadRecord(this.object);
	},
	
	getFormItems: function() {
		return [this.addColorsPicker('intervals-color', 'Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none')
		];
	}
});