Class InteroperabilitySettingsViewModel

java.lang.Object
de.xima.fc.workflow.designer.bpmn.model.settings.ASettingsViewViewModel
de.xima.fc.workflow.designer.bpmn.model.settings.InteroperabilitySettingsViewModel
All Implemented Interfaces:
Serializable

public final class InteroperabilitySettingsViewModel extends ASettingsViewViewModel
View model for interoperability settings related to BPMN diagrams.
Since:
8.4.0
See Also:
  • Constructor Details

    • InteroperabilitySettingsViewModel

      public InteroperabilitySettingsViewModel()
  • Method Details

    • applyFromSettings

      public void applyFromSettings(FlowchartToBpmnConverterSettings settings)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from the given FlowchartToBpmnConverterSettings instance to this view model.
      Specified by:
      applyFromSettings in class ASettingsViewViewModel
      Parameters:
      settings - The settings to apply.
    • applyFromSettings

      public void applyFromSettings(IWorkflowBpmnLayoutSettings settings)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from the given IWorkflowBpmnLayoutSettings instance to this view model.
      Specified by:
      applyFromSettings in class ASettingsViewViewModel
      Parameters:
      settings - The settings to apply.
    • applyToBuilder

      public void applyToBuilder(FlowchartToBpmnConverterSettings.Builder builder)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from this view model to the given FlowchartToBpmnConverterSettings.Builder instance.
      Specified by:
      applyToBuilder in class ASettingsViewViewModel
      Parameters:
      builder - The builder to apply settings to.
    • applyToBuilder

      public void applyToBuilder(WorkflowBpmnLayoutSettings.Builder builder)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from this view model to the given WorkflowBpmnLayoutSettings.Builder instance.
      Specified by:
      applyToBuilder in class ASettingsViewViewModel
      Parameters:
      builder - The builder to apply settings to.
    • isAlwaysCenterPorts

      public boolean isAlwaysCenterPorts()
      Whether to always place in and out ports at the center of a BPMN shape's side. Defaults to false. Some BPMN tools only allow BPMN edges to connect to specific points on the shape. This setting may improve compatibility with such tools.
      Returns:
      Whether to always center ports on the shape's side.
    • setAlwaysCenterPorts

      public void setAlwaysCenterPorts(boolean alwaysCenterPorts)
      Sets whether to always place in and out ports at the center of a BPMN shape's side. Defaults to false. Some BPMN tools only allow BPMN edges to connect to specific points on the shape. This setting may improve compatibility with such tools.
      Parameters:
      alwaysCenterPorts - true to always center ports on the shape's side, false otherwise.
    • isAxisAlignDiagonalConnections

      public boolean isAxisAlignDiagonalConnections()
      Whether to convert diagonal BpmnEdge to axis-aligned edges. May be needed for some tools that do not support diagonal edges.
      Returns:
      true to convert diagonal edges to axis-aligned edges, false otherwise.
    • setAxisAlignDiagonalConnections

      public void setAxisAlignDiagonalConnections(boolean axisAlignDiagonalConnections)
      Sets whether to convert diagonal BpmnEdge to axis-aligned edges. May be needed for some tools that do not support diagonal edges.
      Parameters:
      axisAlignDiagonalConnections - true to convert diagonal edges to axis-aligned edges, false otherwise.
    • isIncludeDefaultValuesInXml

      public boolean isIncludeDefaultValuesInXml()
      Gets whether to include values for attributes in the XML output even if they are equal to their default value. May improve compatibility with some tools that do not respect the default values as per the BPMN 2 standard.
      Returns:
      true if default values should be included in the XML, false otherwise.
    • setIncludeDefaultValuesInXml

      public void setIncludeDefaultValuesInXml(boolean includeDefaultValuesInXml)
      Sets whether to include values for attributes in the XML output even if they are equal to their default value. May improve compatibility with some tools that do not respect the default values as per the BPMN 2 standard.
      Parameters:
      includeDefaultValuesInXml - true if default values should be included in the XML, false otherwise.
    • isInlineEventDefinitionReferences

      public boolean isInlineEventDefinitionReferences()
      Whether to inline references to EventDefinition. May be needed for some tools that do not support event definitions references.
      Returns:
      true if event definition references should be inlined, false otherwise.
    • setInlineEventDefinitionReferences

      public void setInlineEventDefinitionReferences(boolean inlineEventDefinitionReferences)
      Sets whether to inline references to EventDefinition. May be needed for some tools that do not support event definitions references.
      Parameters:
      inlineEventDefinitionReferences - true if event definition references should be inlined, false otherwise.