Class BatchLBuildingAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.actions.JosmAction
org.openstreetmap.josm.plugins.mapathoner.BatchLBuildingAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,org.openstreetmap.josm.tools.Destroyable
public final class BatchLBuildingAction
extends org.openstreetmap.josm.actions.JosmAction
Create multiple L-shaped buildings based on nodes of a way.
Usage:
- Creates a way that consists of nodes at the building corners.
- Runs action.
Performs:
- From quadruplets of way nodes creates orthogonalized L-shape.
- Tags the L-shape as building=yes.
Notes:
- Useful for HOT and Missing Maps mappers.
- This action uses
OrthogonalizeAction
.
- Since:
- xxx
- Author:
- qeef
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.actions.JosmAction
org.openstreetmap.josm.actions.JosmAction.ActiveLayerChangeAdapter, org.openstreetmap.josm.actions.JosmAction.LayerChangeAdapter, org.openstreetmap.josm.actions.JosmAction.SelectionChangeAdapter
-
Field Summary
Fields inherited from class org.openstreetmap.josm.actions.JosmAction
sc
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 -
Method Summary
Methods inherited from class org.openstreetmap.josm.actions.JosmAction
buildActiveLayerChangeAdapter, buildLayerChangeAdapter, checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setHelpId, setToolbarId, setTooltip, updateEnabledState, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
BatchLBuildingAction
public BatchLBuildingAction()Constructs a newBatchLBuildingAction
.
-
-
Method Details
-
actionPerformed
-