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,ShowTileBordersAction,ToggleUploadDiscouragedLayerAction
- Enclosing class:
- Layer
public static interface Layer.LayerAction
Action related to a single layer.
-
Method Summary
Modifier and TypeMethodDescriptionCreates and return the menu component.booleansupportLayers(List<Layer> layers) Determines if this action supports a given list of layers.
-
Method Details
-
supportLayers
Determines if this action supports a given list of layers.- Parameters:
layers- list of layers- Returns:
trueif this action supports the given list of layers,falseotherwise
-
createMenuComponent
Creates and return the menu component.- Returns:
- the menu component
-