Package org.esa.snap.rcp.scripting
Class TransientAction
java.lang.Object
org.esa.snap.rcp.scripting.TransientAction
- All Implemented Interfaces:
ActionListener
,Serializable
,EventListener
,Action
A proxy action which can be used to programmatically register delegate actions which will *not* be serialized
into the NetBeans filesystem.
The proxy protects the delegate action from being serialized/deserialized by the NetBeans Platform
by putting the delegate into a static hash table. On serialisation request only the file system path is serialized
and used to look up the delegate action later on deserialisation request.
- See Also:
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getPath()
boolean
void
void
void
setEnabled
(boolean b)
-
Method Details
-
getDelegate
-
getPath
-
getValue
-
putValue
-
setEnabled
public void setEnabled(boolean b) - Specified by:
setEnabled
in interfaceAction
-
isEnabled
public boolean isEnabled() -
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceAction
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-