Class ZmFolderTreeController
Extends
ZmTreeController.
This class controls a tree display of folders.
Defined in: ZmFolderTreeController.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a folder tree controller.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Resets and enables/disables operations based on context.
|
|
Shows the folder tree with certain folders hidden.
|
- Methods borrowed from class ZmTreeController:
- clearTreeView, dispose, getDataTree, getDropTarget, getTreeView, toString
- Methods borrowed from class ZmController:
- getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, handleKeyAction, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType, setSessionId
Class Detail
ZmFolderTreeController(type, dropTgt)
Creates a folder tree controller.
- Parameters:
-
{Constant} type
- the type of organizer we are displaying/controlling (ZmOrganizer.FOLDER or ZmOrganizer.SEARCH)
-
{DwtDropTarget} dropTgt
- the drop target for this type
Method Detail
resetOperations(parent, id, id)
Resets and enables/disables operations based on context.
- Parameters:
-
{DwtControl} parent
- the widget that contains the operations
-
{int} id
- the id of the currently selected/activated organizer
-
id
show(params)
Shows the folder tree with certain folders hidden.
- Parameters:
-
{Hash} params
- a hash of parameters
-
{Array} params.omit
- an array of folder ids to omit
-
{ZmAccount} params.account
- the account
|