Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.downloadtasks |
Provides the classes for JOSM
download tasks . |
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map modes . |
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.conflict.pair |
Provides the classes for displaying conflicts as pair of lists.
|
org.openstreetmap.josm.gui.datatransfer |
Provides the classes for transferring data using cut/copy/paste operations.
|
org.openstreetmap.josm.gui.datatransfer.data |
Provides the classes for defining the serializable data transferred using cut/copy/paste operations.
|
org.openstreetmap.josm.gui.datatransfer.importers |
Provides the classes for the transfer support controllers allowing cut/copy/paste operations.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.dialogs.relation |
Toggle dialog allowing to display currently loaded relations and perform operations on them.
|
org.openstreetmap.josm.gui.dialogs.relation.actions |
Provides the classes for relation editor actions.
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
org.openstreetmap.josm.gui.io.importexport |
Provides GUI classes for handling file import/export operations.
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.tagging |
Provides classes for handling edition of OSM tags: tag tables, tag editors.
|
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
org.openstreetmap.josm.io.session |
Provides the classes for user sessions import/export.
|
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
ToggleUploadDiscouragedLayerAction.layer |
protected OsmDataLayer |
PurgeAction.layer |
private OsmDataLayer |
UploadSelectionAction.DeletedParentsChecker.layer |
Modifier and Type | Method and Description |
---|---|
protected static void |
UploadAction.alertUnresolvedConflicts(OsmDataLayer layer) |
static void |
CopyAction.copy(OsmDataLayer source,
java.util.Collection<OsmPrimitive> primitives)
Copies the given primitive ids to the clipboard.
|
static void |
MergeNodesAction.doMergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
static void |
DownloadReferrersAction.downloadReferrers(OsmDataLayer targetLayer,
java.util.Collection<OsmPrimitive> children)
Downloads the primitives referring to the primitives in
primitives
into the target layer targetLayer . |
protected void |
UploadSelectionAction.processPostParentChecker(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> toUpload) |
void |
UploadAction.uploadData(OsmDataLayer layer,
APIDataSet apiData)
Uploads data to the OSM API.
|
void |
UploadSelectionAction.uploadPrimitives(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> toUpload)
Uploads the primitives in
toUpload to the server. |
Constructor and Description |
---|
DeletedParentsChecker(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> toUpload) |
ToggleUploadDiscouragedLayerAction(OsmDataLayer layer)
Constructs a new
ToggleUploadDiscouragedLayerAction . |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
DownloadReferrersTask.targetLayer
the target layer
|
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.addNewLayerIfRequired(java.lang.String newLayerName) |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.createNewLayer(DataSet ds,
java.util.Optional<java.lang.String> layerName)
Can be overridden (e.g.
|
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.createNewLayer(java.util.Optional<java.lang.String> layerName)
Convenience method for
DownloadOsmTask.AbstractInternalTask.createNewLayer(DataSet, Optional) , uses the dataset
from field DownloadOsmTask.AbstractInternalTask.dataSet and applies the settings from field DownloadOsmTask.AbstractInternalTask.settings . |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.getEditLayer() |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.getFirstModifiableDataLayer()
Returns the first modifiable data layer
|
Modifier and Type | Method and Description |
---|---|
private static java.util.stream.Stream<OsmDataLayer> |
DownloadOsmTask.AbstractInternalTask.getModifiableDataLayers() |
Constructor and Description |
---|
DownloadReferrersTask(OsmDataLayer targetLayer,
java.util.Collection<OsmPrimitive> children)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
PrimitiveId primitiveId,
ProgressMonitor progressMonitor)
constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
DeleteAction.deleteRelation(OsmDataLayer layer,
Relation toDelete)
Deletes the relation in the context of the given layer.
|
static void |
DeleteAction.deleteRelations(OsmDataLayer layer,
java.util.Collection<Relation> toDelete)
Deletes the relations in the context of the given layer.
|
void |
SelectAction.mergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merge nodes using
MergeNodesAction . |
Modifier and Type | Method and Description |
---|---|
private void |
MainFrame.onLayerChange(OsmDataLayer layer) |
Modifier and Type | Method and Description |
---|---|
protected <P extends OsmPrimitive> |
AbstractListMerger.findLayerFor(P primitive) |
Modifier and Type | Method and Description |
---|---|
OsmPrimitive |
PairTable.getPrimitiveInLayer(int row,
OsmDataLayer layer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
PrimitiveTransferable.sourceLayer |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractStackTransferHandler.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth center) |
void |
OsmTransferHandler.pasteOn(OsmDataLayer editLayer,
EastNorth mPosition)
Paste the current clipboard current at the given position
|
void |
OsmTransferHandler.pasteOn(OsmDataLayer editLayer,
EastNorth mPosition,
java.awt.datatransfer.Transferable transferable)
Paste the given clipboard current at the given position
|
Constructor and Description |
---|
PrimitiveTransferable(PrimitiveTransferData primitives,
OsmDataLayer sourceLayer)
Constructs a new
PrimitiveTransferable . |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
OsmLayerTransferData.osmLayer |
Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
OsmLayerTransferData.getOsmLayer()
Gets the OSM data layer.
|
Constructor and Description |
---|
OsmLayerTransferData(LayerManager layerManager,
OsmDataLayer layer)
Create a new
OsmLayerTransferData object |
Modifier and Type | Method and Description |
---|---|
private static AddPrimitivesCommand |
PrimitiveDataPaster.createNewPrimitives(PrimitiveTransferData pasteBuffer,
EastNorth offset,
OsmDataLayer layer) |
boolean |
PrimitiveDataPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
boolean |
AbstractTagPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
abstract boolean |
AbstractOsmDataPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt)
Attempts to import the given transfer data.
|
boolean |
OsmLinkPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
boolean |
FilePaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
Modifier and Type | Method and Description |
---|---|
private void |
ConflictDialog.addDataLayerListeners(OsmDataLayer newLayer) |
private void |
ConflictDialog.removeDataLayerListeners(OsmDataLayer oldLayer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
DownloadRelationMemberTask.curLayer |
OsmDataLayer |
RelationDialogManager.DialogContext.layer |
private OsmDataLayer |
DownloadRelationTask.layer |
private OsmDataLayer |
ReferringRelationsBrowser.layer |
private OsmDataLayer |
SelectionTableModel.layer
this selection table model only displays selected primitives in this layer
|
private OsmDataLayer |
ParentRelationLoadingTask.layer |
private OsmDataLayer |
RelationEditor.layer
The data layer the relation belongs to
|
private OsmDataLayer |
ChildRelationBrowser.layer
the osm data layer this browser is related to
|
private OsmDataLayer |
MemberTableModel.layer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
ReferringRelationsBrowser.getLayer() |
protected OsmDataLayer |
ParentRelationLoadingTask.getLayer() |
OsmDataLayer |
RelationEditor.getLayer() |
protected OsmDataLayer |
ChildRelationBrowser.getLayer()
Replies the
OsmDataLayer this editor is related to |
OsmDataLayer |
IRelationEditor.getLayer()
Replies the
OsmDataLayer in whose context this relation editor is open |
OsmDataLayer |
MemberTableModel.getLayer()
Returns the data layer.
|
Modifier and Type | Method and Description |
---|---|
void |
RelationDialogManager.close(OsmDataLayer layer,
Relation relation)
Closes the editor open for a specific layer and a specific relation.
|
static RelationEditor |
RelationEditor.getEditor(OsmDataLayer layer,
Relation r,
java.util.Collection<RelationMember> selectedMembers)
This is a factory method that creates an appropriate RelationEditor instance suitable for editing the relation
that was passed in as an argument.
|
RelationEditor |
RelationDialogManager.getEditorForRelation(OsmDataLayer layer,
Relation relation)
Replies the editor for the relation managed by layer.
|
boolean |
RelationDialogManager.isOpenInEditor(OsmDataLayer layer,
Relation relation)
Replies true if there is an open relation editor for the relation managed
by the given layer.
|
boolean |
RelationDialogManager.DialogContext.matchesLayer(OsmDataLayer layer) |
protected void |
SelectionTableModel.populateSelectedPrimitives(OsmDataLayer layer)
populates the model with the primitives currently selected in
layer |
void |
RelationDialogManager.register(OsmDataLayer layer,
Relation relation,
RelationEditor editor)
Register the relation editor for a relation managed by a
OsmDataLayer . |
void |
RelationDialogManager.updateContext(OsmDataLayer layer,
Relation relation,
RelationEditor editor) |
Constructor and Description |
---|
ChildRelationBrowser(OsmDataLayer layer)
constructor
|
ChildRelationBrowser(OsmDataLayer layer,
Relation root)
constructor
|
DialogContext(OsmDataLayer layer,
Relation relation) |
DownloadRelationMemberTask(java.util.Collection<Relation> parents,
java.util.Collection<OsmPrimitive> children,
OsmDataLayer curLayer)
Creates a download task for downloading the child primitives
children for all parent
relations in parents . |
DownloadRelationMemberTask(Relation parent,
java.util.Collection<OsmPrimitive> children,
OsmDataLayer curLayer) |
DownloadRelationMemberTask(Relation parent,
java.util.Collection<OsmPrimitive> children,
OsmDataLayer curLayer,
java.awt.Dialog dialog) |
DownloadRelationTask(java.util.Collection<Relation> relations,
OsmDataLayer layer)
Creates the download task
|
GenericRelationEditor(OsmDataLayer layer,
Relation relation,
java.util.Collection<RelationMember> selectedMembers)
Creates a new relation editor for the given relation.
|
MemberTable(OsmDataLayer layer,
Relation relation,
MemberTableModel model)
constructor for relation member table
|
MemberTableModel(Relation relation,
OsmDataLayer layer,
TaggingPresetHandler presetHandler)
constructor
|
ParentRelationLoadingTask(Relation child,
OsmDataLayer layer,
boolean full,
PleaseWaitProgressMonitor monitor)
Creates a new task for asynchronously downloading the parents of a child relation.
|
ReferringRelationsBrowser(OsmDataLayer layer,
ReferringRelationsBrowserModel model)
Constructs a new
ReferringRelationsBrowser . |
RelationEditor(OsmDataLayer layer,
Relation relation)
Creates a new relation editor
|
SelectionTableModel(OsmDataLayer layer)
Creates a new
SelectionTableModel for a given layer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
AbstractRelationEditorAction.getLayer() |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
UploadLayerTask.layer |
protected OsmDataLayer |
AbstractPrimitiveTask.layer |
private OsmDataLayer |
UploadPrimitivesTask.layer |
private OsmDataLayer |
DownloadPrimitivesWithReferrersTask.tmpLayer
Temporary layer where downloaded primitives are put
|
private OsmDataLayer |
AsynchronousUploadPrimitivesTask.uploadDataLayer |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<AsynchronousUploadPrimitivesTask> |
AsynchronousUploadPrimitivesTask.createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer dataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Creates an instance of AsynchronousUploadPrimitiveTask
|
Constructor and Description |
---|
AbstractPrimitiveTask(java.lang.String title,
OsmDataLayer layer) |
AbstractPrimitiveTask(java.lang.String title,
ProgressMonitor progressMonitor,
OsmDataLayer layer) |
AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer osmDataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Private constructor to restrict creating more Asynchronous upload tasks
|
DownloadPrimitivesTask(OsmDataLayer layer,
java.util.List<PrimitiveId> ids,
boolean fullRelation)
Constructs a new
DownloadPrimitivesTask . |
DownloadPrimitivesTask(OsmDataLayer layer,
java.util.List<PrimitiveId> ids,
boolean fullRelation,
ProgressMonitor progressMonitor)
Constructs a new
DownloadPrimitivesTask . |
UpdatePrimitivesTask(OsmDataLayer layer,
java.util.Collection<? extends OsmPrimitive> toUpdate)
Constructs a new
UpdatePrimitivesTask . |
UploadLayerTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
ProgressMonitor monitor,
Changeset changeset)
Creates the upload task
|
UploadPrimitivesTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
APIDataSet toUpload,
Changeset changeset)
Creates the task
|
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
OsmImporter.OsmImporterData.layer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
OsmImporter.createLayer(DataSet dataSet,
java.io.File associatedFile,
java.lang.String layerName) |
OsmDataLayer |
OsmImporter.OsmImporterData.getLayer() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Runnable |
OsmImporter.createPostLayerTask(DataSet dataSet,
java.io.File associatedFile,
java.lang.String layerName,
OsmDataLayer layer) |
protected void |
OsmExporter.doSave(java.io.File file,
OsmDataLayer layer) |
private void |
OsmExporter.save(java.io.File file,
OsmDataLayer layer,
boolean noBackup) |
Constructor and Description |
---|
OsmImporterData(OsmDataLayer layer,
java.lang.Runnable postLayerTask) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
MainLayerManager.osmDataLayer
The current active OSM data layer.
|
private OsmDataLayer |
MainLayerManager.ActiveLayerChangeEvent.previousDataLayer |
Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
MainLayerManager.getActiveDataLayer()
Replies the active data layer.
|
OsmDataLayer |
MainLayerManager.getEditLayer()
Replies the current edit layer, if present and not readOnly
|
OsmDataLayer |
MainLayerManager.ActiveLayerChangeEvent.getPreviousDataLayer()
Gets the data layer that was previously used.
|
Modifier and Type | Method and Description |
---|---|
void |
MainLayerManager.prepareLayerForUpload(OsmDataLayer layer)
Prepares an OsmDataLayer for upload.
|
void |
MainLayerManager.processLayerAfterUpload(OsmDataLayer layer)
Post upload processing of the OsmDataLayer.
|
private void |
AutosaveTask.registerNewlayer(OsmDataLayer layer) |
protected static void |
OsmDataLayer.removeClipboardDataFor(OsmDataLayer osm) |
void |
OsmDataLayer.LayerStateChangeListener.uploadDiscouragedChanged(OsmDataLayer layer,
boolean newValue)
Notifies that the "upload discouraged" (upload=no) state has changed.
|
Constructor and Description |
---|
ActiveLayerChangeEvent(MainLayerManager source,
OsmDataLayer previousDataLayer,
Layer previousActiveLayer)
Create a new
MainLayerManager.ActiveLayerChangeEvent |
Modifier and Type | Method and Description |
---|---|
void |
TagEditorPanel.initAutoCompletion(OsmDataLayer layer)
Initializes the auto completion infrastructure used in this
tag editor panel.
|
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
OsmPrimitivesTable.layer
the data layer in whose context primitives are edited in this table
|
Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
OsmPrimitivesTable.getLayer()
Returns the data layer.
|
Modifier and Type | Method and Description |
---|---|
OsmPrimitive |
OsmPrimitivesTable.getPrimitiveInLayer(int row,
OsmDataLayer layer)
Returns primitive at the specified row.
|
void |
OsmPrimitivesTable.setLayer(OsmDataLayer layer)
Sets the data layer.
|
Constructor and Description |
---|
OsmDataSessionExporter(OsmDataLayer layer)
Constructs a new
OsmDataSessionExporter . |