Class BrowseOpcAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.designer.tags.tree.action.TagTreeAction
com.inductiveautomation.ignition.designer.tags.tree.action.BrowseOpcAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,TreeSelectionListener
- See Also:
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.designer.tags.tree.action.TagTreeAction
context, tree
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 TypeMethodDescriptionprotected int
protected boolean
Called for each selected node that isn't a meta node.void
Methods inherited from class com.inductiveautomation.ignition.designer.tags.tree.action.TagTreeAction
allowMixedProviders, findProvider, getEligibleSelectedTagPaths, getNode, getNodes, getSelectedTagPaths, getTagManager, isNodeEligible, setTree, shouldBeEnabled
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Field Details
-
VALUE_COMMAND
- See Also:
-
VALUE_SHORT_DESCRIPTION
- See Also:
-
VALUE_LONG_DESCRIPTION
- See Also:
-
-
Constructor Details
-
BrowseOpcAction
-
-
Method Details
-
maxSelectionCount
protected int maxSelectionCount()- Specified by:
maxSelectionCount
in classTagTreeAction
- Returns:
- the maximum selection that could cause this action to be enabled
-
shouldBeEnabled
Description copied from class:TagTreeAction
Called for each selected node that isn't a meta node. The action will become enabled only if all selected nodes are not meta nodes and this function returns true for each node.- Specified by:
shouldBeEnabled
in classTagTreeAction
-
valueChanged
- Specified by:
valueChanged
in interfaceTreeSelectionListener
- Overrides:
valueChanged
in classTagTreeAction
-