Blame view

js/app/views/PlotComponents/intervalSelection/DateZoomIntervalSelection.js 1.03 KB
1591d4c2   Menouard AZIB   Basic functionali...
1
Ext.define('amdaPlotComp.intervalSelection.DateZoomIntervalSelection', {
7f523d49   Menouard AZIB   Add comments to D...
2
3
    extend: 'amdaPlotComp.intervalSelection.ZoomIntervalSelection', // This class extends from amdaPlotComp.intervalSelection.ZoomIntervalSelection
    requires: ['amdaPlotComp.intervalSelection.InsertToTTCatlog'], // This class requires the InsertToTTCatlog class from amdaPlotComp.intervalSelection
1591d4c2   Menouard AZIB   Basic functionali...
4

7f523d49   Menouard AZIB   Add comments to D...
5
6
7
    type: 'timeAxis', // The type of axis for this interval selection is timeAxis
    title: "Zoom on time axis & Interval selection", // The title of this interval selection
    insertToTTCatlog: null, // An instance of the InsertToTTCatlog class, initially set to null
aba2eb97   Menouard AZIB   Add InsertToTTCat...
8

7f523d49   Menouard AZIB   Add comments to D...
9
10
11
12
    /**
     * Initializes the component.
     * It calls the parent's initComponent method, then creates a new instance of InsertToTTCatlog and adds it to the form.
     */
aba2eb97   Menouard AZIB   Add InsertToTTCat...
13
14
    initComponent: function () {
        this.callParent(arguments);
2dc9b65a   Menouard AZIB   All refactored cm...
15
        this.insertToTTCatlog = new amdaPlotComp.intervalSelection.InsertToTTCatlog({ parent: this });
9ea5aa6b   Menouard AZIB   Add comments to I...
16
        this.form.add(this.insertToTTCatlog);
aba2eb97   Menouard AZIB   Add InsertToTTCat...
17
    },
1591d4c2   Menouard AZIB   Basic functionali...
18
19

});