public class DownloadPrimitiveAction extends JosmAction
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter| Modifier and Type | Field and Description |
|---|---|
static Shortcut |
SHORTCUT
Action shortcut (ctrl-shift-O by default), made public in order to be used from
GettingStarted page. |
sc| Constructor and Description |
|---|
DownloadPrimitiveAction()
Constructs a new
DownloadPrimitiveAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
static void |
processItems(boolean newLayer,
java.util.List<PrimitiveId> ids,
boolean downloadReferrers,
boolean full)
Submits the download task for the given primitive ids.
|
buildActiveLayerChangeAdapter, buildLayerChangeAdapter, checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setHelpId, setTooltip, updateEnabledState, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuturepublic DownloadPrimitiveAction()
DownloadPrimitiveAction.public void actionPerformed(java.awt.event.ActionEvent e)
public static void processItems(boolean newLayer, java.util.List<PrimitiveId> ids, boolean downloadReferrers, boolean full)
newLayer - if the data should be downloaded into a new layerids - List of primitive id to downloaddownloadReferrers - if the referrers of the object should be downloaded as well, i.e., parent relations, and for nodes,
additionally, parent waysfull - if the members of a relation should be downloaded as well