Class PropertiesPanelModel

  • All Implemented Interfaces:
    Serializable

    public class PropertiesPanelModel
    extends Object
    implements Serializable
    Model for the properties panel to the right of the workflow designer. Stores whether a trigger or node is currently selected, and whether any error did occur while loading the node or trigger properties.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Method Detail

      • getErrorMessage

        public String getErrorMessage()
        Returns:
        The current error message, if any, describing the error that occurred when trying to load the properties panel.
      • getSelection

        public FlowchartSelection<?> getSelection()
        Returns:
        The currently selected node or trigger, if any. Never null.
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
        Parameters:
        errorMessage - The current error message, if any, describing the error that occurred when trying to load the properties panel.
      • setSelection

        public void setSelection​(FlowchartSelection<?> selection)
        Parameters:
        selection - The currently selected node or trigger, if any. May be null to indicate no selection.
      • empty

        public static PropertiesPanelModel empty()
        Returns:
        An empty model with no selection and no error message.