Class AbstractNavTreeNode.PopupAction
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- com.inductiveautomation.ignition.client.util.action.BaseAction
- 
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode.PopupAction
 
 
 
- 
- All Implemented Interfaces:
- java.awt.event.ActionListener,- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- javax.swing.Action
 - Direct Known Subclasses:
- FolderNode.FindReplaceAction
 - Enclosing class:
- AbstractNavTreeNode
 
 protected abstract static class AbstractNavTreeNode.PopupAction extends BaseAction A BaseAction that gets set up with the node selection prior to being shown- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected AbstractNavTreeNodeactionHandlerjava.util.List<AbstractNavTreeNode>selection
 - 
Constructor SummaryConstructors Constructor Description PopupAction(java.lang.String bundleKey, javax.swing.Icon icon)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanderiveEnabled(AbstractNavTreeNode actionHandler, java.util.List<AbstractNavTreeNode> selection)voidsetSelection(AbstractNavTreeNode source, AbstractNavTreeNode actionHandler, java.util.List<AbstractNavTreeNode> selection)Standard implementation disables the action if the shared action handler is null.- 
Methods inherited from class com.inductiveautomation.ignition.client.util.action.BaseActioncreate, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabled
 - 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Field Detail- 
selection@Nullable public java.util.List<AbstractNavTreeNode> selection 
 - 
actionHandler@Nullable protected AbstractNavTreeNode actionHandler 
 
- 
 - 
Method Detail- 
setSelectionpublic void setSelection(@Nonnull AbstractNavTreeNode source, @Nullable AbstractNavTreeNode actionHandler, @Nullable java.util.List<AbstractNavTreeNode> selection)Standard implementation disables the action if the shared action handler is null. Otherwise, will call thederiveEnabled(AbstractNavTreeNode, List)method to see if it should be enabled or not.
 - 
deriveEnabledprotected boolean deriveEnabled(@Nonnull AbstractNavTreeNode actionHandler, @Nonnull java.util.List<AbstractNavTreeNode> selection)
 
- 
 
-