Package org.esa.snap.rcp.actions.vector
Class CreateVectorDataNodeAction
java.lang.Object
javax.swing.AbstractAction
org.esa.snap.rcp.actions.vector.CreateVectorDataNodeAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,org.openide.util.ContextAwareAction
,org.openide.util.LookupListener
public class CreateVectorDataNodeAction
extends AbstractAction
implements org.openide.util.ContextAwareAction, org.openide.util.LookupListener
- See Also:
-
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
createContextAwareInstance
(org.openide.util.Lookup actionContext) static VectorDataNode
createDefaultVectorDataNode
(Product product) static VectorDataNode
createDefaultVectorDataNode
(Product product, String name, String description) static String
void
resultChanged
(org.openide.util.LookupEvent ev) 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 javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
CreateVectorDataNodeAction
public CreateVectorDataNodeAction() -
CreateVectorDataNodeAction
public CreateVectorDataNodeAction(org.openide.util.Lookup lkp)
-
-
Method Details
-
createDefaultVectorDataNode
-
createDefaultVectorDataNode
public static VectorDataNode createDefaultVectorDataNode(Product product, String name, String description) -
getDefaultVectorDataNodeName
-
createContextAwareInstance
- Specified by:
createContextAwareInstance
in interfaceorg.openide.util.ContextAwareAction
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent ev) - Specified by:
resultChanged
in interfaceorg.openide.util.LookupListener
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-