public abstract class AbstractMergeAction extends JosmAction
Modifier and Type | Class and Description |
---|---|
static class |
AbstractMergeAction.LayerListCellRenderer
the list cell renderer used to render layer list entries
|
JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
sc
changeSupport, enabled
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 and Description |
---|
AbstractMergeAction()
Constructs a new
AbstractMergeAction . |
AbstractMergeAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register) |
AbstractMergeAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register,
String toolbar,
boolean installAdapters) |
Modifier and Type | Method and Description |
---|---|
protected Layer |
askTargetLayer(List<Layer> targetLayers) |
protected void |
warnNoTargetLayersForSourceLayer(Layer sourceLayer) |
destroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledState
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
public AbstractMergeAction()
AbstractMergeAction
.public AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register)
protected Layer askTargetLayer(List<Layer> targetLayers)
protected void warnNoTargetLayersForSourceLayer(Layer sourceLayer)