Package org.esa.snap.rcp.actions.window
Class OpenImageViewAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.actions.window.OpenImageViewAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,org.openide.util.ContextAwareAction
,org.openide.util.LookupListener
public class OpenImageViewAction extends AbstractAction implements org.openide.util.ContextAwareAction, org.openide.util.LookupListener
This action opens an image view of the currently selected raster.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OpenImageViewAction.ProductSceneViewImageUpdater
A method used to update aProductSceneView
.
-
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 OpenImageViewAction()
OpenImageViewAction(RasterDataNode rasterDataNode)
OpenImageViewAction(org.openide.util.Lookup lookup)
-
Method Summary
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
OpenImageViewAction
public OpenImageViewAction()
-
OpenImageViewAction
public OpenImageViewAction(org.openide.util.Lookup lookup)
-
OpenImageViewAction
public OpenImageViewAction(RasterDataNode rasterDataNode)
-
-
Method Detail
-
create
public static OpenImageViewAction create(RasterDataNode rasterDataNode)
-
showImageView
public static void showImageView(RasterDataNode rasterDataNode)
Deprecated.since v8.0.0, no replacement
-
openImageView
public static void openImageView(RasterDataNode rasterDataNode)
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
execute
public void execute()
-
getProductSceneViewTopComponent
public static ProductSceneViewTopComponent getProductSceneViewTopComponent(RasterDataNode raster)
-
getProductSceneView
public static ProductSceneView getProductSceneView(RasterDataNode raster)
-
updateProductSceneViewImage
public static void updateProductSceneViewImage(ProductSceneView view)
Deprecated.since v8.0.0, no replacement
-
updateProductSceneViewImages
public static void updateProductSceneViewImages(RasterDataNode[] rasters)
Deprecated.since v8.0.0, no replacement
-
updateProductSceneViewImages
public static void updateProductSceneViewImages(RasterDataNode[] rasters, OpenImageViewAction.ProductSceneViewImageUpdater updateMethod)
-
createContextAwareInstance
public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
- Specified by:
createContextAwareInstance
in interfaceorg.openide.util.ContextAwareAction
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent ev)
- Specified by:
resultChanged
in interfaceorg.openide.util.LookupListener
-
-