Package org.esa.snap.rcp.subset
Class CreateSubsetAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.subset.CreateSubsetAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class CreateSubsetAction extends AbstractAction
This action opens a product subset dialog with the initial spatial bounds taken from the currently visible image area, if any.- 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 CreateSubsetAction(ProductNode sourceNode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent ignored)
static void
createSubset(Product sourceProduct, Rectangle bounds)
static void
createSubset(Product sourceProduct, Rectangle bounds, RasterDataNode rdn)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
CreateSubsetAction
public CreateSubsetAction(ProductNode sourceNode)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent ignored)
-
createSubset
public static void createSubset(Product sourceProduct, Rectangle bounds, RasterDataNode rdn)
-
-