Class icm.pgwidget.workitemtoolbar.WorkitemToolbar

Class represents WorkitemToolbar widget
Defined in: <icm/pgwidget/workitemtoolbar/WorkitemToolbar.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Handler for the icm.SendNewTaskInfo event.
 
Handler for the icm.SendWorkItem event.
 
 
 
update the contentPane UI according to the settings for the page widget
 
updateModel(model)
update the model according to the settings for the page widget

Constructor Detail

icm.pgwidget.workitemtoolbar.WorkitemToolbar()

Method Detail

handleICM_SendNewTaskInfoEvent(payload)

Handler for the icm.SendNewTaskInfo event.
Parameters:
payload
Example: payload = { "taskEditable": taskEditable, "coordination": coordination };

handleICM_SendWorkItemEvent(payload)

Handler for the icm.SendWorkItem event.
Parameters:
payload
  • workItemEditable: An icm.model.CaseEditable object that represents the workitem that is to be displayed.
  • coordination: An icm.util.Coordination object that is used internally by the widgets in the same page.
  • UIState:(optional) An dojo.Stateful object that is used internally by the widgets to
  • indicate whether it is read only for the work item and Open next work item feature is enabled or not in the same page.
Example: payload = { "workItemEditable": workItemEditable, "coordination": coordination, "UIState": uiState };

postCreate()


startup()


updateCurrentViewPane()

update the contentPane UI according to the settings for the page widget

updateModel(model)

update the model according to the settings for the page widget
Parameters:
model
  • model.optionSetting.showHeaderRight: whether to show the right part of the header;
  • model.optionSetting.showHeaderLeft: whether to show the left part of the header;
Example: model = { optionSetting:{ showHeaderRight: true, showHeaderLeft: true }};