public class StreetsideDownloadViewAction extends JosmAction implements AbstractProperty.ValueChangeListener<String>
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
Modifier and Type | Field and Description |
---|---|
private static String |
DESCRIPTION |
private static long |
serialVersionUID |
sc
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 |
---|
StreetsideDownloadViewAction()
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg0) |
protected boolean |
listenToSelectionChange() |
protected void |
updateEnabledState()
Enabled when the Streetside layer is instantiated and download mode is either "osm area" or "manual".
|
void |
valueChanged(AbstractProperty.ValueChangeEvent<? extends String> e) |
checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, setTooltip, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static final long serialVersionUID
private static final String DESCRIPTION
public StreetsideDownloadViewAction()
public void actionPerformed(ActionEvent arg0)
actionPerformed
in interface ActionListener
protected boolean listenToSelectionChange()
listenToSelectionChange
in class JosmAction
protected void updateEnabledState()
updateEnabledState
in class JosmAction
public void valueChanged(AbstractProperty.ValueChangeEvent<? extends String> e)
valueChanged
in interface AbstractProperty.ValueChangeListener<String>