Class StateListUpdatedEvent
java.lang.Object
de.xima.fc.gui.bean.designer.event.StateListUpdatedEvent
- All Implemented Interfaces:
IDesignerConversationEvent,IApplicationEvent,ISessionConversationEvent,ISessionEvent,IEvent,Serializable
When the state list was updated in the workflow designer.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStateListUpdatedEvent(EContentView contentView, StateList stateList, boolean immediate) Creates a new POJO event with the given data.StateListUpdatedEvent(String sourceTabId, StateList stateList, boolean immediate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.gui.bean.designer.event.IDesignerConversationEvent
getSourceTabView
-
Constructor Details
-
StateListUpdatedEvent
Creates a new POJO event with the given data.- Parameters:
contentView- Content view whoseEContentView.getId()will be returned byIDesignerConversationEvent.getSourceTabId().stateList- A list of all currently available states.immediate- Whether the state list was updated directly in response to a user interaction. If so, a loading dialog may be shown.
-
StateListUpdatedEvent
- Parameters:
sourceTabId- Value as returned byIDesignerConversationEvent.getSourceTabId().stateList- Value as returned bygetStateList().immediate- Whether the state list was updated directly in response to a user interaction. If so, a loading dialog may be shown.
-
-
Method Details
-
getStateList
- Returns:
- A list of all currently available states.
-
isImmediate
public boolean isImmediate()- Returns:
trueif the state was added immediately in reaction to a user interaction. If so, immediately reloads the config without a delay, and may also show a loading dialog.
-
getSourceTabId
- Specified by:
getSourceTabIdin interfaceIDesignerConversationEvent- Returns:
- ID of the tab (see
TabModel.getId()) that issued the event. Empty string if the event was issued by the designer parent frame.
-