Package org.esa.snap.rcp.actions.file
Class SaveProductAsAction
- java.lang.Object
 - 
- javax.swing.AbstractAction
 - 
- org.esa.snap.rcp.actions.file.SaveProductAsAction
 
 
 
- 
- All Implemented Interfaces:
 ActionListener,Serializable,Cloneable,EventListener,Action
public final class SaveProductAsAction extends AbstractAction
Action which saves a selected product using a new name.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringPREFERENCES_KEY_LAST_PRODUCT_DIRstatic StringPREFERENCES_KEY_PRODUCT_CONVERSION_REQUIRED- 
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 SaveProductAsAction(ProductNode productNode) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent e)Booleanexecute()Executes the action command.- 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled 
 - 
 
 - 
 
- 
- 
Field Detail
- 
PREFERENCES_KEY_PRODUCT_CONVERSION_REQUIRED
public static final String PREFERENCES_KEY_PRODUCT_CONVERSION_REQUIRED
- See Also:
 - Constant Field Values
 
 
- 
PREFERENCES_KEY_LAST_PRODUCT_DIR
public static final String PREFERENCES_KEY_LAST_PRODUCT_DIR
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
SaveProductAsAction
public SaveProductAsAction(ProductNode productNode)
 
 - 
 
- 
Method Detail
- 
actionPerformed
public void actionPerformed(ActionEvent e)
 
- 
execute
public Boolean execute()
Executes the action command.- Returns:
 Boolean.TRUEon success,Boolean.FALSEon failure, ornullon cancellation.
 
 - 
 
 -