Class OverlayWorldMapLayerAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.actions.layer.overlay.AbstractOverlayAction
-
- org.esa.snap.rcp.actions.layer.overlay.OverlayWorldMapLayerAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,SelectionSupport.Handler<ProductSceneView>
,org.openide.util.actions.Presenter
,org.openide.util.actions.Presenter.Menu
,org.openide.util.actions.Presenter.Popup
,org.openide.util.actions.Presenter.Toolbar
public final class OverlayWorldMapLayerAction extends AbstractOverlayAction
- 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 OverlayWorldMapLayerAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
getActionEnabledState(ProductSceneView view)
protected boolean
getActionSelectionState(ProductSceneView view)
Compute the state of a ProductSceneView that is selected.protected void
initActionProperties()
protected void
setOverlayEnableState(ProductSceneView view)
-
Methods inherited from class org.esa.snap.rcp.actions.layer.overlay.AbstractOverlayAction
actionPerformed, getMenuPresenter, getPopupPresenter, getSelectedProductSceneView, getToolbarPresenter, isSelected, selectionChange, updateActionState
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
initActionProperties
protected void initActionProperties()
- Specified by:
initActionProperties
in classAbstractOverlayAction
-
getActionSelectionState
protected boolean getActionSelectionState(ProductSceneView view)
Description copied from class:AbstractOverlayAction
Compute the state of a ProductSceneView that is selected.- Specified by:
getActionSelectionState
in classAbstractOverlayAction
- Parameters:
view
- // get the selected productSceneView- Returns:
- // return the state of the Overlay within the ProductSceneView
-
getActionEnabledState
protected boolean getActionEnabledState(ProductSceneView view)
- Specified by:
getActionEnabledState
in classAbstractOverlayAction
-
setOverlayEnableState
protected void setOverlayEnableState(ProductSceneView view)
- Specified by:
setOverlayEnableState
in classAbstractOverlayAction
-
-