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:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
static ProductSceneViewTopComponent
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 Details
-
OpenRGBImageViewAction
-
-
Method Details
-
getDefaultBandIndices
-
openDocumentWindow
-
allocateRgbBands
-
releaseRgbBands
-
createSceneName
public static String createSceneName(Product product, RGBImageProfile rgbImageProfile, String operation) -
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()- Specified by:
getHelpCtx
in interfaceorg.openide.util.HelpCtx.Provider
-
openProductSceneViewRGB
-