Package org.openstreetmap.josm.gui.layer
Interface Layer.LayerAction
-
- All Known Implementing Classes:
AutoLoadTilesAction
,AutoZoomAction
,CustomizeColor
,CustomizeDrawingAction
,DeleteLayerAction
,DownloadAlongTrackAction
,ImageryLayer.OffsetAction
,Layer.SeparatorLayerAction
,LayerVisibilityAction
,MarkerLayer.ShowHideMarkerText
,MergeAction
,MVTLayer.ConvertLayerAction
,MVTLayer.EnableLayerAction
,ShowErrorsAction
,ShowHideLayerAction
,ShowThumbnailAction
,ToggleUploadDiscouragedLayerAction
- Enclosing class:
- Layer
public static interface Layer.LayerAction
Action related to a single layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Component
createMenuComponent()
Creates and return the menu component.boolean
supportLayers(java.util.List<Layer> layers)
Determines if this action supports a given list of layers.
-
-
-
Method Detail
-
supportLayers
boolean supportLayers(java.util.List<Layer> layers)
Determines if this action supports a given list of layers.- Parameters:
layers
- list of layers- Returns:
true
if this action supports the given list of layers,false
otherwise
-
createMenuComponent
java.awt.Component createMenuComponent()
Creates and return the menu component.- Returns:
- the menu component
-
-