Class ecm.widget.process.ProcessorButtonBar


Extends dijit._Widget.
Provides the Step processor button bar for IBM FileNet P8 workflow processors.
Defined in: <ecm\widget\process\ProcessorButtonBar.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
addSeparator(space)
Adds a separator to the button bar.
 
 
createDispatchButton(label, callback)
Creates the dispatch button on the button bar, typically the Complete or Launch button.
 
Creates the Move to In-basket button on the button bar.
 
Creates the Reassign button on the button bar.
 
createResponseButtons(responses, callback)
Creates the responses buttons on the button bar.
 
Creates the Return to Sender button on the button bar.
 
 
Returns the buttons contained in this button bar.
 
Returns a boolean value indicating whether the Get Next check box is checked.
 
 
 
Removes all the buttons that have been created.
 
Called to set the display state on the Get Next component to be shown.
 
Called to set the display state on the Save button to be shown.

Constructor Detail

ecm.widget.process.ProcessorButtonBar()

Method Detail

addSeparator(space)

Adds a separator to the button bar.
Parameters:
space
A boolean value to indicate whether to add an extra space character after the separator.

constructor()


createDispatchButton(label, callback)

Creates the dispatch button on the button bar, typically the Complete or Launch button.
Parameters:
label
A string holding the display label for the dispatch button.
callback
A callback function to be called after the button has been created.

createMovetoInboxButton(callback)

Creates the Move to In-basket button on the button bar.
Parameters:
callback
A callback function to be called after the button has been created.

createReassignButton(callback)

Creates the Reassign button on the button bar.
Parameters:
callback
A callback function to be called after the button has been created.

createResponseButtons(responses, callback)

Creates the responses buttons on the button bar.
Parameters:
responses
An array of response strings.
callback
A callback function to be called after the button has been created.

createReturnButton(callback)

Creates the Return to Sender button on the button bar.
Parameters:
callback
A callback function to be called after the button has been created.

destroy()


getButtons()

Returns the buttons contained in this button bar.
Since:
2.0.3

{Boolean} isGetNextEnabled()

Returns a boolean value indicating whether the Get Next check box is checked.
Returns:
{Boolean} A value of true if get next check box is checked, false otherwise.

onCancel()


onSave()


removeAll()

Removes all the buttons that have been created.

showGetNextCheckBox(isChecked)

Called to set the display state on the Get Next component to be shown.
Parameters:
isChecked
A boolean value indicating if the get next check box should be selected.

showSaveButton()

Called to set the display state on the Save button to be shown.