Class AbstractDiagnosticAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.designer.gui.AbstractDiagnosticAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
A simple framework for an action that runs some checks and displays the results in a little popup. To use, create a
subclass that implements
runDiagnostics(Callback)
. As you run your diagnostics, call the error, warning, and
good functions on Callback, and then call finished() when done.- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
appendIntro
(AbstractDiagnosticAction.Callback callback) static void
protected abstract void
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
AbstractDiagnosticAction
-
-
Method Details
-
actionPerformed
-
runDiagnostics
-
appendIntro
-
main
-