Class EventStreamSubtextStateSynthesizer
java.lang.Object
com.inductiveautomation.eventstream.designer.ui.viewmodel.EventStreamSubtextStateSynthesizer
This class is responsible for synthesizing the
For synthesizing the
SubtextStateInfo
, and updating the stateInfo
property. The stateInfo
property holds the most current SubtextStateInfo
. For synthesizing the
SubtextStateInfo
, this class monitors 2 sources:
-
EventStreamStateTracker
- This class provides the current state of the event stream as reported by the Gateway -
EventStreamConfigManager
- This class provides the current configuration of the event stream. This is used to determine if there are unsaved edits.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(EventStreamStateTracker stateTracker, Supplier<EventStreamConfigManager> configManagerSupplier) void
void
-
Method Details
-
create
public static EventStreamSubtextStateSynthesizer create(EventStreamStateTracker stateTracker, Supplier<EventStreamConfigManager> configManagerSupplier) -
initialize
public void initialize() -
setPostSaveFlag
public void setPostSaveFlag() -
stateInfo
-