Class StateListUpdatedEvent

    • Constructor Detail

      • 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 Detail

      • 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.