git_sitools_idoc / Module_DatasetExplorerD3_sitools2v3 / DatasetExplorerD3.js @ 20ff13ec
| 1 |
Ext.namespace('sitools.user.modules');
|
|---|---|
| 2 |
|
| 3 |
Ext.define( 'sitools.user.modules.DatasetExplorerD3', {
|
| 4 |
extend: 'sitools.user.core.Module', |
| 5 |
|
| 6 |
|
| 7 |
init : function (moduleModel) { |
| 8 |
var view = Ext.create('sitools.user.view.modules.datasetExplorerD3.DatasetExplorerD3'); |
| 9 |
this.setViewCmp(view);
|
| 10 |
|
| 11 |
this.show(this.getViewCmp()); |
| 12 |
|
| 13 |
this.callParent(arguments); |
| 14 |
}, |
| 15 |
|
| 16 |
/**
|
| 17 |
* method called when trying to save preference
|
| 18 |
*
|
| 19 |
* @returns
|
| 20 |
*/
|
| 21 |
_getSettings : function () { |
| 22 |
return {
|
| 23 |
preferencesPath : "/modules", |
| 24 |
preferencesFileName : this.id |
| 25 |
}; |
| 26 |
|
| 27 |
} |
| 28 |
|
| 29 |
}); |