Blame view

js/app/views/PlotComponents/PlotOrbitSerieForm.js 870 Bytes
e84ed2cf   Benjamin Renard   Add Interval Tick...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
 * Project   : AMDA-NG
 * Name      : PlotOrbitSerieForm.js
 * @class   amdaPlotComp.PlotOrbitSerieForm
 * @extends amdaPlotComp.PlotBaseSerieForm
 * @brief   Form to define specifics orbit serie options
 * @author  Benjamin Renard
 * @version $Id: PlotOrbitSerieForm.js benjamin $
 */

Ext.define('amdaPlotComp.PlotOrbitSerieForm', {
	extend: 'amdaPlotComp.PlotBaseSerieForm',
	
	getFormItems: function() {
		var me = this;
		
		var baseSerieItems = this.callParent(arguments);
		
		var orbitSerieItems = [
			this.addStandardCombo('serie-projection', 'Projection', amdaPlotObj.PlotObjectConfig.availableOrbitSerieProjections, function(name, value, oldValue) {
				me.object.set('serie-projection', value);
				me.crtTree.refresh();
			}),
		];
		
		Ext.each(baseSerieItems, function(item) {
			orbitSerieItems.push(item);
		});
		
		return orbitSerieItems;
	}
});