Class Index | File Index

Classes


Class Monk.feature.Workflow


Extends Monk.feature.MonkBase.
A version of MonkBase which uses Ext 2.0 to create a workflow layout.
Defined in: workflowFeature.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
The list of component groups (pulled from Monk.feature.MonkBase#plugins).
 
The list of components (pulled from Monk.feature.MonkBase#plugins).
 
Manages movement between the steps of the workflow.
 
Contains the header.
 
Used to display help for each step of the workflow.
 
Where should we go after loading everything.
 
The recognized request parameter names.
 
Holds parameters passed in through the URL.
 
Stores the progress window for loading metadata, etc.
 
Used to perform searches in components and in the workbench.
 
Manages movement between the steps of the toolset.
 
The list of toolsets.
 
Used for tracking component/window relation.
 
Keeps track of component windows and provides layout functions.
Fields borrowed from class Monk.feature.MonkBase:
files, plugins
Method Summary
Method Attributes Method Name and Description
 
destroyComponent(componentWindow)
Destroy a component.
 
focusComponent(componentWindow)
Give the component focus if desktop window has been clicked
 
Parse any parameters included in the URL and set them in Monk.feature.Workflow#initialParameters.
 
 
handle(monkEvent, data)
Events handled by this component:
 
Initialize everything and load the collections meta data.
 
initializeComponent(componentId)
Initialize a component.
 
Initialize the header.
 
Initialize the layout.
 
Analyze request parameters and perform various loading operations based on their contents.
 
Initialize the tools.
 
Initialize toolsets.
 
switchComponent(oldComponentId, newComponentId)
Replace one component with another.
Class Detail
Monk.feature.Workflow(args)

Author: Andrew.
Parameters:
args
Field Detail
{Ext.util.MixedCollection} componentGroups
The list of component groups (pulled from Monk.feature.MonkBase#plugins).

{Ext.util.MixedCollection} components
The list of components (pulled from Monk.feature.MonkBase#plugins). See Monk.feature.Workflow#initializeTools.

{Monk.component.FlowManager} flowManager
Manages movement between the steps of the workflow.

{Ext.Panel} headerPanel
Contains the header. See Monk.feature.Workflow#initializeHeader.

{Monk.component.HelpComponent} helpComponent
Used to display help for each step of the workflow.

{Array} initialDestination
Where should we go after loading everything.

{Array} initialParameterNames
The recognized request parameter names.

{Ext.util.MixedCollection} initialParameters
Holds parameters passed in through the URL. See Monk.feature.Workflow.initialParameterNames for allowed parameter names. Possible combinations:

{Ext.Window} initialProgressWin
Stores the progress window for loading metadata, etc.

{Monk.framework.component.SearchComponent} searchComponent
Used to perform searches in components and in the workbench.

{Monk.component.ToolFlowManager} toolFlowManager
Manages movement between the steps of the toolset.

{Ext.util.MixedCollection} toolsets
The list of toolsets. See Monk.feature.Workflow#initializeToolsets.

{Ext.util.MixedCollection} toolWindowRegistry
Used for tracking component/window relation. Format: key = windowId, item = Workbench.component.Component.

{Ext.ux.WindowManager} windowManager
Keeps track of component windows and provides layout functions.
Method Detail
destroyComponent(componentWindow)
Destroy a component. Called when a component window gets closed.
Parameters:
{Ext.Window} componentWindow
The component window.

focusComponent(componentWindow)
Give the component focus if desktop window has been clicked
Parameters:
{Ext.Window} componentWindow
The component window.

getURLParameters()
Parse any parameters included in the URL and set them in Monk.feature.Workflow#initialParameters.

goToDestination()
Go to the destination stored in Monk.feature.Workflow#initialDestination using Monk.component.FlowManager (and Monk.component.ToolFlowManager).

handle(monkEvent, data)
Events handled by this component:
Parameters:
monkEvent
data

initialize()
Initialize everything and load the collections meta data.

{Ext.Window} initializeComponent(componentId)
Initialize a component.
Parameters:
{String} componentId
The ID of the component to initialize.
Returns:
{Ext.Window} An Ext.Window containing the component IFRAME.

initializeHeader()
Initialize the header.

initializeLayout()
Initialize the layout.

initializeParameters()
Analyze request parameters and perform various loading operations based on their contents.

initializeTools()
Initialize the tools.

initializeToolsets()
Initialize toolsets.

switchComponent(oldComponentId, newComponentId)
Replace one component with another.
Parameters:
{String} oldComponentId
The old component's ID.
{String} newComponentId
The new component's ID.

©2009
Documentation generated by JsDoc Toolkit 2.0.2 on Wed May 06 2009 08:41:36 GMT-0500 (CDT)