Class WorkflowBpmnExportBean
java.lang.Object
de.xima.fc.workflow.designer.bpmn.bean.WorkflowBpmnExportBean
- All Implemented Interfaces:
Serializable
Controller bean for the BPMN editor of the flow graph. Allows exporting the flow chart as a BPMN file.
- Since:
- 8.4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the file name for the PNG export of the BPMN diagram.Gets the file name for the SVG export of the BPMN diagram.Gets the view model with the settings for the BPMN export.Gets the view settings for the BPMN diagram, indicating what parts of the workflow should be rendered.voidWhen the button to visualize a task was clicked.voidHandler for the remote command to download the BPMN diagram as a BPMN 2 XML file.voidWhen the user clicked on a preset the in the BPMN export settings UI.voidArranges BPMN elements from left to right.voidArranges BPMN elements from bottom to top.voidArranges BPMN elements from top to bottom.voidArranges BPMN elements from bottom to top.voidExpands or collapses sub processes in the BPMN diagram.voidEnables or disables colors for the BPMN diagram.
-
Constructor Details
-
WorkflowBpmnExportBean
public WorkflowBpmnExportBean()
-
-
Method Details
-
getDownloadFileNamePng
Gets the file name for the PNG export of the BPMN diagram.- Returns:
- The file name for the PNG export.
-
getDownloadFileNameSvg
Gets the file name for the SVG export of the BPMN diagram.- Returns:
- The file name for the SVG export.
-
getExportSettings
Gets the view model with the settings for the BPMN export.- Returns:
- The BPMN export settings view model.
-
getViewSettings
Gets the view settings for the BPMN diagram, indicating what parts of the workflow should be rendered.- Returns:
- The view settings model containing the tasks and their rendering state.
-
onConvertAndRenderBpmnRequest
public void onConvertAndRenderBpmnRequest()When the button to visualize a task was clicked. -
onGetBpmnXmlForDownload
public void onGetBpmnXmlForDownload()Handler for the remote command to download the BPMN diagram as a BPMN 2 XML file. -
onPresetSelected
When the user clicked on a preset the in the BPMN export settings UI. Applies the settings of the preset to the current export settings. -
switchDirectionEast
public void switchDirectionEast()Arranges BPMN elements from left to right. -
switchDirectionNorth
public void switchDirectionNorth()Arranges BPMN elements from bottom to top. -
switchDirectionSouth
public void switchDirectionSouth()Arranges BPMN elements from top to bottom. -
switchDirectionWest
public void switchDirectionWest()Arranges BPMN elements from bottom to top. -
toggleCollapseSubProcesses
public void toggleCollapseSubProcesses()Expands or collapses sub processes in the BPMN diagram. -
toggleColorize
public void toggleColorize()Enables or disables colors for the BPMN diagram.
-