class ChangesetDetailPanel.ZoomInCurrentLayerAction extends javax.swing.AbstractAction implements MainLayerManager.ActiveLayerChangeListener
Constructor and Description |
---|
ZoomInCurrentLayerAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
activeOrEditLayerChanged(MainLayerManager.ActiveLayerChangeEvent e)
Called whenever the active or edit layer changed.
|
protected void |
alertNoPrimitivesToZoomTo() |
void |
updateEnabledState() |
ZoomInCurrentLayerAction()
protected void alertNoPrimitivesToZoomTo()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void updateEnabledState()
public void activeOrEditLayerChanged(MainLayerManager.ActiveLayerChangeEvent e)
MainLayerManager.ActiveLayerChangeListener
You can be sure that this layer is still contained in this set.
Listeners are called in the EDT thread and you can manipulate the layer manager in the current thread.
activeOrEditLayerChanged
in interface MainLayerManager.ActiveLayerChangeListener
e
- The change event.