Class CopyTagJsonAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.designer.tags.tree.action.TagTreeAction
com.inductiveautomation.ignition.designer.tags.tree.action.CopyTagJsonAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,TreeSelectionListener
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields 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, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected int
protected boolean
Called for each selected node that isn't a meta node.Methods inherited from class com.inductiveautomation.ignition.designer.tags.tree.action.TagTreeAction
allowMixedProviders, findProvider, getEligibleSelectedTagPaths, getNode, getNodes, getSelectedTagPaths, getTagManager, isNodeEligible, setTree, shouldBeEnabled, valueChanged
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
CopyTagJsonAction
-
-
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
-
actionPerformed
-