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.ComponentcreateMenuComponent()Creates and return the menu component.booleansupportLayers(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:
trueif this action supports the given list of layers,falseotherwise
-
createMenuComponent
java.awt.Component createMenuComponent()
Creates and return the menu component.- Returns:
- the menu component
-
-