Class ViewSettingsModel
- java.lang.Object
-
- de.xima.fc.workflow.designer.model.ViewSettingsModel
-
- All Implemented Interfaces:
Serializable
public final class ViewSettingsModel extends Object implements Serializable
Models with the view options for the flowchart, such as whether to draw separator lines between lanes etc.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ViewSettingsModel
empty()
static ViewSettingsModel
forFlowchart(FlowchartModel model)
List<ITaskWithName>
getTasksWithName()
Map<UUID,Boolean>
getVisibleTasks()
boolean
isShowAllTasks()
boolean
isShowLaneSeparators()
boolean
isShowTriggerPreconditionState()
boolean
isShowTriggerPreconditionUserGroup()
void
setShowAllTasks(boolean showAllTasks)
void
setShowLaneSeparators(boolean showLaneSeparators)
void
setShowTriggerPreconditionState(boolean showTriggerPreconditionState)
void
setShowTriggerPreconditionUserGroup(boolean showTriggerPreconditionUserGroup)
void
setTasksWithName(List<ITaskWithName> tasksWithName)
void
setVisibleTasks(Map<UUID,Boolean> visibleTasks)
-
-
-
Method Detail
-
getTasksWithName
public List<ITaskWithName> getTasksWithName()
-
isShowAllTasks
public boolean isShowAllTasks()
-
isShowLaneSeparators
public boolean isShowLaneSeparators()
-
isShowTriggerPreconditionState
public boolean isShowTriggerPreconditionState()
-
isShowTriggerPreconditionUserGroup
public boolean isShowTriggerPreconditionUserGroup()
-
setShowAllTasks
public void setShowAllTasks(boolean showAllTasks)
-
setShowLaneSeparators
public void setShowLaneSeparators(boolean showLaneSeparators)
-
setShowTriggerPreconditionState
public void setShowTriggerPreconditionState(boolean showTriggerPreconditionState)
-
setShowTriggerPreconditionUserGroup
public void setShowTriggerPreconditionUserGroup(boolean showTriggerPreconditionUserGroup)
-
setTasksWithName
public void setTasksWithName(List<ITaskWithName> tasksWithName)
-
empty
public static ViewSettingsModel empty()
- Returns:
- A new empty model with all the defaults set.
-
forFlowchart
public static ViewSettingsModel forFlowchart(FlowchartModel model)
- Parameters:
model
- Current flowchart model.- Returns:
- A new model with the defaults taken from the given flowchart model.
-
-