Blame view

js/app/views/PlotComponents/PlotInstantSerieForm.js 866 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
/**
 * Project   : AMDA-NG
 * Name      : PlotInstantSerieForm.js
 * @class   amdaPlotComp.PlotInstantSerieForm
 * @extends amdaPlotComp.PlotStandardForm
 * @brief   Form to define specifics instant serie options
 * @author  Benjamin Renard
 * @version $Id: PlotInstantSerieForm.js benjamin $
 */

Ext.define('amdaPlotComp.PlotInstantSerieForm', {
	extend: 'amdaPlotComp.PlotStandardForm',
	
	setObject : function(object) {
		this.object = object.get('param-drawing-object');
		this.loadRecord(this.object);
	},
	
	getFormItems: function() {
6a801541   Benjamin Renard   Add possibility t...
20
		
6a801541   Benjamin Renard   Add possibility t...
21
22
23
		
		return [
		    this.addStandardCheck('iserie-tableonx', 'Table on X axis'),
24b02d83   Benjamin Renard   Add definition of...
24
25
		    this.addStandardFieldSet('Lines', 'iserie-lines-activated', this.addStandardLineItems('iserie-lines')),
		    this.addStandardFieldSet('Symbols', 'iserie-symbols-activated', this.addStandardSymbolsItems('iserie-symbols'))
6a801541   Benjamin Renard   Add possibility t...
26
27
28
		];
	}
});