Class PropertiesPanelModel
- java.lang.Object
-
- de.xima.fc.workflow.designer.model.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertiesPanelModel
empty()
String
getErrorMessage()
FlowchartSelection<?>
getSelection()
void
setErrorMessage(String errorMessage)
void
setSelection(FlowchartSelection<?> selection)
-
-
-
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 benull
to indicate no selection.
-
empty
public static PropertiesPanelModel empty()
- Returns:
- An empty model with no selection and no error message.
-
-