Class MessageDisplayComponentBinderUtilities
java.lang.Object
com.inductiveautomation.ignition.designer.mvvm.binders.swing.MessageDisplayComponentBinderUtilities
Utilities for binding
MessageDisplayComponent
components.-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
processMetaData
(JComponent component, SubmissionContext<?> context) This method processes meta-data: data related to setting alerts, prompts, etc., for the given component.
-
Method Details
-
processMetaData
This method processes meta-data: data related to setting alerts, prompts, etc., for the given component.
TheSubmissionContext.State.DEFAULT
state, can contain meta-data, which can occur when a prompt accompanies the data. Since this class only deals with the handling of meta-data, the data still needs to be processed. In cases similar to this, where after the meta-data has been processed and there remains the data itself, which hasn't been processed. This method returns true to indicate that there are data that still needs to be processed.
Method returns true if the component has non-meta data to process, after the processing done by this method. Currently, that would only apply to theSubmissionContext.State.DEFAULT
state.
TheSubmissionContext.State.DEFAULT
also clears any alerts that may have been set previously.
-