Class ChangesetCacheManager.DownloadSelectedChangesetContentAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.changeset.ChangesetCacheManager.DownloadSelectedChangesetContentAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,ListSelectionListener
- Enclosing class:
- ChangesetCacheManager
static class ChangesetCacheManager.DownloadSelectedChangesetContentAction extends AbstractAction implements ListSelectionListener
Downloads the content of selected changesets from the OSM server
-
-
Field Summary
Fields Modifier and Type Field Description private ChangesetCacheManagerModel
model
-
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 Constructor Description DownloadSelectedChangesetContentAction(ChangesetCacheManagerModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
protected void
updateEnabledState()
void
valueChanged(ListSelectionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
model
private final ChangesetCacheManagerModel model
-
-
Constructor Detail
-
DownloadSelectedChangesetContentAction
DownloadSelectedChangesetContentAction(ChangesetCacheManagerModel model)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
updateEnabledState
protected void updateEnabledState()
-
valueChanged
public void valueChanged(ListSelectionEvent e)
- Specified by:
valueChanged
in interfaceListSelectionListener
-
-