Class Alfresco.ConsoleTool
Extends Alfresco.component.Base
ConsoleTool tool base component.
Provides common functionality for all Console Panel based tools.
Provides common functionality for all Console Panel based tools.
Defined in: consoletool.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.ConsoleTool(htmlId)
ConsoleTool constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
The current UI panel ID on display
|
|
|
List of the available UI panel handler objects; such as Search, View, Edit etc.
|
|
|
Object container for storing YUI pop dialog instances.
|
- Fields borrowed from class Alfresco.component.Base:
- modules, options, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
Fired by YUI when History Manager is initialised and available for scripting.
|
|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
|
|
onStateChanged(e, args)
History manager state change event handler
|
- Methods borrowed from class Alfresco.component.Base:
- bind, msg, onComponentsLoaded, setMessages, setOptions
Constructor Detail
Alfresco.ConsoleTool(htmlId)
ConsoleTool constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.ConsoleTool} The new ConsoleTool instance
Field Detail
{string}
currentPanelId
The current UI panel ID on display
{array}
panels
List of the available UI panel handler objects; such as Search, View, Edit etc.
{object}
popups
Object container for storing YUI pop dialog instances.
Method Detail
onHistoryManagerReady()
Fired by YUI when History Manager is initialised and available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.
Component initialisation, including instantiation of YUI widgets and event listener binding.
onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.
Component initialisation, including instantiation of YUI widgets and event listener binding.
onStateChanged(e, args)
History manager state change event handler
- Parameters:
- {object} e
- DomEvent
- {array} args
- Event parameters (depends on event type)