Class PropertiesPanelModel
java.lang.Object
de.xima.fc.workflow.designer.model.PropertiesPanelModel
- All Implemented Interfaces:
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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesPanelModel
empty()
void
setErrorMessage
(String errorMessage) void
setSelection
(FlowchartSelection<?> selection)
-
Method Details
-
getErrorMessage
- Returns:
- The current error message, if any, describing the error that occurred when trying to load the properties panel.
-
getSelection
- Returns:
- The currently selected node or trigger, if any. Never null.
-
setErrorMessage
- Parameters:
errorMessage
- The current error message, if any, describing the error that occurred when trying to load the properties panel.
-
setSelection
- Parameters:
selection
- The currently selected node or trigger, if any. May benull
to indicate no selection.
-
empty
- Returns:
- An empty model with no selection and no error message.
-