/** * Project  : AMDA-NG * Name : PlotSpectroForm.js * @class amdaPlotComp.PlotSpectroForm * @extends amdaPlotComp.PlotStandardForm * @brief Form to define specifics spectro options * @author Benjamin Renard * @version $Id: PlotSpectroForm.js benjamin $ */ Ext.define('amdaPlotComp.PlotSpectroForm', { extend: 'amdaPlotComp.PlotStandardForm', setObject : function(object) { this.object = object.get('param-drawing-object'); this.loadRecord(this.object); }, getFormItems: function() { return [ this.addStandardCombo('spectro-yaxis', 'Y axis', amdaPlotObj.PlotObjectConfig.availableYAxes) ]; } });