Project

General

Profile

Download (859 Bytes) Statistics
| Branch: | Revision:

git_sitools_idoc / Module_DatasetExplorerOchart_sitools2v3 / DatasetExplorerOchart.js @ 20ff13ec

1
Ext.namespace('sitools.user.modules');
2

    
3
Ext.define( 'sitools.user.modules.DatasetExplorerOchart', {
4
    extend: 'sitools.user.core.Module',
5

    
6

    
7
    requires: ['sitools.user.controller.modules.datasetExplorerOchart.DatasetExplorerOchartController'],
8
    controllers: ['sitools.user.controller.modules.datasetExplorerOchart.DatasetExplorerOchartController'],
9
    init : function (moduleModel) {
10
        
11
        var view = Ext.create('sitools.user.view.modules.datasetExplorerOchart.DatasetExplorerOchartView');
12
        this.setViewCmp(view);
13

    
14
        this.show(this.getViewCmp());
15

    
16
        this.callParent(arguments);
17
    },
18

    
19
    /**
20
     * method called when trying to save preference
21
     * 
22
     * @returns
23
     */
24
    _getSettings : function () {
25
        return {
26
            preferencesPath : "/modules",
27
            preferencesFileName : this.id
28
        };
29

    
30
    }
31

    
32
} );