Zimlet JavaScript API Reference - ZmFolderTreeController

Class ZmFolderTreeController


Extends ZmTreeController.

This class controls a tree display of folders.

Defined in: ZmFolderTreeController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmFolderTreeController(type, dropTgt)
Creates a folder tree controller.
Method Summary
Method Attributes Method Name and Description
 
resetOperations(parent, id, id)
Resets and enables/disables operations based on context.
 
show(params)
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

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)