Class 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 Detail

      • 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)
      • setVisibleTasks

        public void setVisibleTasks​(Map<UUID,​Boolean> visibleTasks)
      • 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.