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
|
|
21
|
|
22
|
|
23
|
|
24
|
_getSettings : function () {
|
25
|
return {
|
26
|
preferencesPath : "/modules",
|
27
|
preferencesFileName : this.id
|
28
|
};
|
29
|
|
30
|
}
|
31
|
|
32
|
} );
|