class ChangesetContentPanel.SelectInCurrentLayerAction extends javax.swing.AbstractAction implements javax.swing.event.ListSelectionListener, MapView.EditLayerChangeListener
Constructor and Description |
---|
SelectInCurrentLayerAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0) |
void |
editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer)
Called after the active edit layer was changed.
|
void |
updateEnabledState() |
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
SelectInCurrentLayerAction()
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed
in interface java.awt.event.ActionListener
public final void updateEnabledState()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
public void editLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer)
MapView.EditLayerChangeListener
editLayerChanged
in interface MapView.EditLayerChangeListener
oldLayer
- The old edit layernewLayer
- The current (new) edit layer