diff --git a/js/app/views/PlotComponents/intervalSelection/DateZoomIntervalSelection.js b/js/app/views/PlotComponents/intervalSelection/DateZoomIntervalSelection.js index ac764d3..e2aeb29 100644 --- a/js/app/views/PlotComponents/intervalSelection/DateZoomIntervalSelection.js +++ b/js/app/views/PlotComponents/intervalSelection/DateZoomIntervalSelection.js @@ -1,11 +1,15 @@ Ext.define('amdaPlotComp.intervalSelection.DateZoomIntervalSelection', { - extend: 'amdaPlotComp.intervalSelection.ZoomIntervalSelection', - requires: ['amdaPlotComp.intervalSelection.InsertToTTCatlog'], + extend: 'amdaPlotComp.intervalSelection.ZoomIntervalSelection', // This class extends from amdaPlotComp.intervalSelection.ZoomIntervalSelection + requires: ['amdaPlotComp.intervalSelection.InsertToTTCatlog'], // This class requires the InsertToTTCatlog class from amdaPlotComp.intervalSelection - type: 'timeAxis', - title: "Zoom on time axis & Interval selection", - insertToTTCatlog: null, + 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 + /** + * Initializes the component. + * It calls the parent's initComponent method, then creates a new instance of InsertToTTCatlog and adds it to the form. + */ initComponent: function () { this.callParent(arguments); this.insertToTTCatlog = new amdaPlotComp.intervalSelection.InsertToTTCatlog({ parent: this }); -- libgit2 0.21.2