Blame view

js/app/views/PlotComponents/plotFunction/BaseComponent.js 423 Bytes
afd835e1   Menouard AZIB   Refactoring of Pl...
1
2
3
4
5
6
7
8
9
10
11
12
13
// Define the base class
Ext.define('amdaPlotComp.plotFunction.BaseComponent', {
    extend: 'Ext.form.FieldSet',
    
    /**
     * Subclasses are expected to implement this method to retrieve values.
     * @returns {Object} The values.
     * @throws {Error} If the method is not implemented.
     */
    getValues: function () {
        throw new Error('getValues() method must be implemented by subclass');
    }
});