KWA-MDM/js/ui/MDMHierarchyTreePanel.js
csoni 568eb9170d List folders that have been opened through the api
Added button in MDMDeviceGeneralTab
Created MDMManageSharedFolderContentPanel and MDMManageSharedFolderPanel to show a dialog with multi select hierarchy
Created substore sharedfolder
Added proxy and response handler to handel device response

Used message class instead of object type,
Override hierarchy tree , hierarchy loader and folder node ui
2017-08-04 07:17:11 -07:00

45 lines
1.3 KiB
JavaScript

Ext.namespace('Zarafa.plugins.mdm.ui');
/**
* @class Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel
* @extends Zarafa.hierarchy.ui.Tree
* @xtype mdm.hierarchytree
*
* MDMHierarchyTreePanel for hierachy list in the
* {@link Zarafa.plugins.mdm.dialogs.MDMManageSharedFolderPanel manageSharedFolderPanel}.
*/
Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel = Ext.extend(Zarafa.hierarchy.ui.Tree, {
/**
* @constructor
* @param {Object} config Configuration object
*/
constructor : function(config)
{
Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel.superclass.constructor.call(this, config);
},
/**
* Function will initialize {@link Zarafa.hierarchy.ui.Tree Tree} and creates a
* {@link Zarafa.common.ui.LoadMask} if {@link Zarafa.hierarchy.ui.Tree Tree} is intantiated as full tree.
* @protected
*/
initComponent : function()
{
// Intialize the loader
if (!this.loader) {
this.loader = new Zarafa.plugins.mdm.data.MDMHierarchyTreeLoader({
tree : this,
store : this.store,
nodeConfig : this.nodeConfig,
deferredLoading : this.deferredLoading
});
}
// call parent
Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel.superclass.initComponent.apply(this, arguments);
}
});
Ext.reg('mdm.hierarchytree', Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel);