PlotOrbitSerieForm.js 870 Bytes
/**
 * 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;
	}
});