Blame view

js/app/views/PlotComponents/PlotInstantSpectroForm.js 695 Bytes
6a801541   Benjamin Renard   Add possibility t...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * 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', amdaPlotObj.PlotObjectConfig.availableDimsOnXAxis)
		];
	}
});