Class StreetsideDownloadViewAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.actions.JosmAction
-
- org.openstreetmap.josm.plugins.streetside.actions.StreetsideDownloadViewAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action,AbstractProperty.ValueChangeListener<java.lang.String>,Destroyable
public class StreetsideDownloadViewAction extends JosmAction implements AbstractProperty.ValueChangeListener<java.lang.String>
If in "download images in visible area" mode, downloads all the images in the current view.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.actions.JosmAction
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringDESCRIPTIONprivate static longserialVersionUID-
Fields inherited from class org.openstreetmap.josm.actions.JosmAction
sc
-
-
Constructor Summary
Constructors Constructor Description StreetsideDownloadViewAction()Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent arg0)protected booleanlistenToSelectionChange()protected voidupdateEnabledState()Enabled when the Streetside layer is instantiated and download mode is either "osm area" or "manual".voidvalueChanged(AbstractProperty.ValueChangeEvent<? extends java.lang.String> e)-
Methods inherited from class org.openstreetmap.josm.actions.JosmAction
buildActiveLayerChangeAdapter, buildLayerChangeAdapter, checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, setHelpId, setToolbarId, setTooltip, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
DESCRIPTION
private static final java.lang.String DESCRIPTION
-
-
Constructor Detail
-
StreetsideDownloadViewAction
public StreetsideDownloadViewAction()
Main constructor.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
listenToSelectionChange
protected boolean listenToSelectionChange()
- Overrides:
listenToSelectionChangein classJosmAction
-
updateEnabledState
protected void updateEnabledState()
Enabled when the Streetside layer is instantiated and download mode is either "osm area" or "manual".- Overrides:
updateEnabledStatein classJosmAction
-
valueChanged
public void valueChanged(AbstractProperty.ValueChangeEvent<? extends java.lang.String> e)
- Specified by:
valueChangedin interfaceAbstractProperty.ValueChangeListener<java.lang.String>
-
-