public class StreetsideExportAction extends JosmAction
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
Modifier and Type | Field and Description |
---|---|
private StreetsideExportDialog |
dialog |
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 |
---|
StreetsideExportAction()
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent ae) |
void |
export(Set<StreetsideAbstractImage> images)
Exports the given images from the database.
|
protected boolean |
listenToSelectionChange() |
protected void |
updateEnabledState()
Enabled when streetside layer is in layer list
|
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 StreetsideExportDialog dialog
public StreetsideExportAction()
public void actionPerformed(ActionEvent ae)
public void export(Set<StreetsideAbstractImage> images)
images
- The set of images to be exported.protected boolean listenToSelectionChange()
listenToSelectionChange
in class JosmAction
protected void updateEnabledState()
updateEnabledState
in class JosmAction