Class StateListUpdatedEvent
- java.lang.Object
 - 
- de.xima.fc.gui.bean.designer.event.StateListUpdatedEvent
 
 
- 
- All Implemented Interfaces:
 IDesignerConversationEvent,IApplicationEvent,ISessionConversationEvent,ISessionEvent,IEvent,Serializable
public class StateListUpdatedEvent extends Object
When the state list was updated in the workflow designer.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description StateListUpdatedEvent(EContentView contentView, StateList stateList, boolean immediate)Creates a new POJO event with the given data.StateListUpdatedEvent(String sourceTabId, StateList stateList, boolean immediate) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSourceTabId()StateListgetStateList()booleanisImmediate()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface de.xima.fc.gui.bean.designer.event.IDesignerConversationEvent
getSourceTabView 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
StateListUpdatedEvent
public StateListUpdatedEvent(EContentView contentView, StateList stateList, boolean immediate)
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
public StateListUpdatedEvent(String sourceTabId, StateList stateList, boolean immediate)
- 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 Detail
- 
getStateList
public StateList 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
public String 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. 
 
 - 
 
 -