Blame view

js/app/views/PlotComponents/PlotOrbitSerieForm.js 860 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
/**
 * 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 = [
4f728fd9   Erdogan Furkan   For now 2
20
			this.addStandardCombo('serie-projection', 'Projection', amdaDefaultConfigs.availableOrbitSerieProjections, function(name, value, oldValue) {
e84ed2cf   Benjamin Renard   Add Interval Tick...
21
22
23
24
25
26
27
28
29
30
31
32
				me.object.set('serie-projection', value);
				me.crtTree.refresh();
			}),
		];
		
		Ext.each(baseSerieItems, function(item) {
			orbitSerieItems.push(item);
		});
		
		return orbitSerieItems;
	}
});