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:
  • Constructor Details

    • StateListUpdatedEvent

      public StateListUpdatedEvent(EContentView contentView, StateList stateList, boolean immediate)
      Creates a new POJO event with the given data.
      Parameters:
      contentView - Content view whose EContentView.getId() will be returned by IDesignerConversationEvent.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 by IDesignerConversationEvent.getSourceTabId().
      stateList - Value as returned by getStateList().
      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

      public StateList getStateList()
      Returns:
      A list of all currently available states.
    • isImmediate

      public boolean isImmediate()
      Returns:
      true if 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:
      getSourceTabId in interface IDesignerConversationEvent
      Returns:
      ID of the tab (see TabModel.getId()) that issued the event. Empty string if the event was issued by the designer parent frame.