class ChangesetContentPanel.SelectInCurrentLayerAction extends AbstractAction implements ListSelectionListener, MapView.EditLayerChangeListener
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 |
---|
SelectInCurrentLayerAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg0) |
protected void |
alertNoPrimitivesToSelect(Collection<HistoryOsmPrimitive> primitives) |
void |
editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
updateEnabledState() |
void |
valueChanged(ListSelectionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public SelectInCurrentLayerAction()
protected void alertNoPrimitivesToSelect(Collection<HistoryOsmPrimitive> primitives)
public void actionPerformed(ActionEvent arg0)
actionPerformed
in interface ActionListener
public void updateEnabledState()
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void editLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer)
editLayerChanged
in interface MapView.EditLayerChangeListener