Package org.esa.snap.rcp.actions.file
Class SaveProductAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.actions.file.SaveProductAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public final class SaveProductAction extends AbstractAction
Action which closes a selected product.- See Also:
- Serialized Form
-
-
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 Constructor Description SaveProductAction(ProductNode productNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Boolean
execute()
Executes the action command.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
SaveProductAction
public SaveProductAction(ProductNode productNode)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
execute
public Boolean execute()
Executes the action command.- Returns:
Boolean.TRUE
on success,Boolean.FALSE
on failure, ornull
on cancellation.
-
-