Package org.esa.snap.rcp.actions.window
Class OpenRGBImageViewAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.actions.window.OpenRGBImageViewAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,org.openide.util.HelpCtx.Provider
public class OpenRGBImageViewAction extends AbstractAction implements org.openide.util.HelpCtx.Provider
This action opens an RGB image view on the currently 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 OpenRGBImageViewAction(ProductNode node)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
static Band[]
allocateRgbBands(Product product, String[] rgbaExpressions)
static String
createSceneName(Product product, RGBImageProfile rgbImageProfile, String operation)
static int[]
getDefaultBandIndices(Product product)
org.openide.util.HelpCtx
getHelpCtx()
static ProductSceneViewTopComponent
openDocumentWindow(ProductSceneView view)
void
openProductSceneViewRGB(Product rgbProduct, String helpId)
static void
releaseRgbBands(Band[] rgbBands, boolean errorOccurred)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
OpenRGBImageViewAction
public OpenRGBImageViewAction(ProductNode node)
-
-
Method Detail
-
getDefaultBandIndices
public static int[] getDefaultBandIndices(Product product)
-
openDocumentWindow
public static ProductSceneViewTopComponent openDocumentWindow(ProductSceneView view)
-
releaseRgbBands
public static void releaseRgbBands(Band[] rgbBands, boolean errorOccurred)
-
createSceneName
public static String createSceneName(Product product, RGBImageProfile rgbImageProfile, String operation)
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interfaceorg.openide.util.HelpCtx.Provider
-
-