Class Index | File Index

Classes


Class Alfresco.module.DoclibGlobalFolder

Extends Alfresco.component.Base
Document Library "Global Folder" picker module for Document Library.
Field Summary
Field Attributes Field Name and Description
 
Container element for template in DOM.
 
Current list of containers.
 
Object container for initialization options
 
Paths we have to expand as a result of a deep navigation event.
 
Selected tree node.
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
fnLoadNodeData(node, fnLoadComplete)
Dynamically loads TreeView nodes.
 
onCancel(e, p_obj)
Dialog Cancel button event handler
 
onContainerChanged(layer, args)
Container Changed event handler
 
Fired by YUI TreeView when a node has finished expanding
 
Fired by YUI TreeView when a node label is clicked
 
onOK(e, p_obj)
Dialog OK button event handler
 
Update tree when the path has changed
 
onSiteChanged(layer, args)
Site Changed event handler
 
onTemplateLoaded(response)
Event callback when dialog template has been loaded
 
onViewModeChange(e, p_obj)
Mode change buttongroup event handler
 
Public function to set current dialog view mode
 
Main entry point
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Field Detail
{DOMElement} containerDiv
Container element for template in DOM.

containers
Current list of containers.

options
Object container for initialization options

{array} pathsToExpand
Paths we have to expand as a result of a deep navigation event.

selectedNode
Selected tree node.
Method Detail
fnLoadNodeData(node, fnLoadComplete)
Dynamically loads TreeView nodes.
This MUST be inline in order to have access to the parent class.
Parameters:
{object} node
Parent node
{function} fnLoadComplete
Expanding node's callback function

onCancel(e, p_obj)
Dialog Cancel button event handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onContainerChanged(layer, args)
Container Changed event handler
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

onExpandComplete(oNode)
Fired by YUI TreeView when a node has finished expanding
Parameters:
oNode
{YAHOO.widget.Node} the node recently expanded

onNodeClicked()
Fired by YUI TreeView when a node label is clicked
Parameters:
args.event
{HTML Event} the event object
args.node
{YAHOO.widget.Node} the node clicked
Returns:
allowExpand {boolean} allow or disallow node expansion

onOK(e, p_obj)
Dialog OK button event handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onPathChanged(path)
Update tree when the path has changed
Parameters:
{string} path
new path

onSiteChanged(layer, args)
Site Changed event handler
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

onTemplateLoaded(response)
Event callback when dialog template has been loaded
Parameters:
{object} response
Server response from load template XHR request

onViewModeChange(e, p_obj)
Mode change buttongroup event handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

setViewMode(mode)
Public function to set current dialog view mode
Parameters:
{integer} mode
New dialog view mode constant

showDialog()
Main entry point

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:26 GMT-0000 (GMT)