PlotInstantSpectroForm.js
685 Bytes
/**
* Project : AMDA-NG
* Name : PlotInstantSpectroForm.js
* @class amdaPlotComp.PlotInstantSpectroForm
* @extends amdaPlotComp.PlotStandardForm
* @brief Form to define specifics instant spectro options
* @author Benjamin Renard
* @version $Id: PlotInstantSpectroForm.js benjamin $
*/
Ext.define('amdaPlotComp.PlotInstantSpectroForm', {
extend: 'amdaPlotComp.PlotStandardForm',
setObject : function(object) {
this.object = object.get('param-drawing-object');
this.loadRecord(this.object);
},
getFormItems: function() {
return [
this.addStandardCombo('ispectro-dimonxaxis', 'Dim. on X axis', amdaDefaultConfigs.availableDimsOnXAxis)
];
}
});