Package | Description |
---|---|
org.openstreetmap.josm | |
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.actions.downloadtasks | |
org.openstreetmap.josm.actions.mapmode | |
org.openstreetmap.josm.command | |
org.openstreetmap.josm.command.conflict |
Provides commands for handling conflicts.
|
org.openstreetmap.josm.data | |
org.openstreetmap.josm.data.osm.event | |
org.openstreetmap.josm.gui | |
org.openstreetmap.josm.gui.conflict.pair | |
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.changeset |
Standalone dialog allowing to handle OSM changesets (query and display them).
|
org.openstreetmap.josm.gui.dialogs.properties |
Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.
|
org.openstreetmap.josm.gui.dialogs.relation |
Toggle dialog allowing to display currently loaded relations and perform operations on them.
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
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 | |
org.openstreetmap.josm.io.session |
Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
Main.getEditLayer()
Replies the current edit layer
|
Modifier and Type | Field and Description |
---|---|
protected OsmDataLayer |
PurgeAction.layer |
private OsmDataLayer |
ToggleUploadDiscouragedLayerAction.layer |
private OsmDataLayer |
UploadSelectionAction.DeletedParentsChecker.layer |
Modifier and Type | Method and Description |
---|---|
protected static OsmDataLayer |
JosmAction.getEditLayer()
Replies the current edit layer
|
Modifier and Type | Method and Description |
---|---|
protected static void |
UploadAction.alertUnresolvedConflicts(OsmDataLayer layer) |
static void |
CopyAction.copy(OsmDataLayer source,
Collection<OsmPrimitive> primitives)
Copies the given primitive ids to the clipboard.
|
static void |
MergeNodesAction.doMergeNodes(OsmDataLayer layer,
Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
(package private) static SplitWayAction.SplitWayResult |
SplitWayAction.doSplitWay(OsmDataLayer layer,
Way way,
Way wayToKeep,
List<Way> newWays,
List<OsmPrimitive> newSelection) |
static void |
DownloadReferrersAction.downloadReferrers(OsmDataLayer targetLayer,
Collection<OsmPrimitive> children)
Downloads the primitives referring to the primitives in
primitives
into the target layer targetLayer . |
static void |
DownloadReferrersAction.downloadReferrers(OsmDataLayer targetLayer,
long id,
OsmPrimitiveType type)
Downloads the primitives referring to the primitive given by
id and type . |
static void |
DownloadReferrersAction.downloadReferrers(OsmDataLayer targetLayer,
Map<Long,OsmPrimitiveType> children)
Downloads the primitives referring to the primitives in
primitives
into the target layer targetLayer . |
static Command |
MergeNodesAction.mergeNodes(OsmDataLayer layer,
Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
static Command |
MergeNodesAction.mergeNodes(OsmDataLayer layer,
Collection<Node> nodes,
Node targetNode,
Node targetLocationNode)
Merges the nodes in
nodes onto one of the nodes. |
protected void |
UploadSelectionAction.processPostParentChecker(OsmDataLayer layer,
Collection<OsmPrimitive> toUpload) |
static SplitWayAction.SplitWayResult |
SplitWayAction.split(OsmDataLayer layer,
Way way,
List<Node> atNodes,
Collection<? extends OsmPrimitive> selection)
Splits the way
way at the nodes in atNodes and replies
the result of this process in an instance of SplitWayAction.SplitWayResult . |
static SplitWayAction.SplitWayResult |
SplitWayAction.splitWay(OsmDataLayer layer,
Way way,
List<List<Node>> wayChunks,
Collection<? extends OsmPrimitive> selection)
Splits the way
way into chunks of wayChunks and replies
the result of this process in an instance of SplitWayAction.SplitWayResult . |
static SplitWayAction.SplitWayResult |
SplitWayAction.splitWay(OsmDataLayer layer,
Way way,
List<List<Node>> wayChunks,
Collection<? extends OsmPrimitive> selection,
SplitWayAction.Strategy splitStrategy)
Splits the way
way into chunks of wayChunks and replies
the result of this process in an instance of SplitWayAction.SplitWayResult . |
void |
UploadAction.uploadData(OsmDataLayer layer,
APIDataSet apiData)
Uploads data to the OSM API.
|
void |
UploadSelectionAction.uploadPrimitives(OsmDataLayer layer,
Collection<OsmPrimitive> toUpload)
Uploads the primitives in
toUpload to the server. |
Constructor and Description |
---|
DeletedParentsChecker(OsmDataLayer layer,
Collection<OsmPrimitive> toUpload) |
ToggleUploadDiscouragedLayerAction(OsmDataLayer layer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
DownloadReferrersTask.targetLayer
the target layer
|
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.addNewLayerIfRequired(String newLayerName,
Bounds bounds) |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.createNewLayer() |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.createNewLayer(String layerName) |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.getEditLayer() |
protected OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.getFirstDataLayer() |
Constructor and Description |
---|
DownloadReferrersTask(OsmDataLayer targetLayer,
Collection<OsmPrimitive> children)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
long id,
OsmPrimitiveType type)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
Map<Long,OsmPrimitiveType> children)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
PrimitiveId primitiveId)
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.
|
void |
SelectAction.mergeNodes(OsmDataLayer layer,
Collection<Node> nodes,
Node targetLocationNode)
Merge nodes using
MergeNodesAction . |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
Command.layer
the layer which this command is applied to
|
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
Command.getLayer()
Replies the layer this command is (or was) applied to.
|
Modifier and Type | Method and Description |
---|---|
static Command |
DeleteCommand.delete(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection)
Try to delete all given primitives.
|
static Command |
DeleteCommand.delete(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection,
boolean alsoDeleteNodesInWay)
Try to delete all given primitives.
|
static Command |
DeleteCommand.delete(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection,
boolean alsoDeleteNodesInWay,
boolean silent)
Try to delete all given primitives.
|
static Command |
DeleteCommand.deleteWaySegment(OsmDataLayer layer,
WaySegment ws) |
static Command |
DeleteCommand.deleteWithReferences(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection)
Delete the primitives and everything they reference.
|
static Command |
DeleteCommand.deleteWithReferences(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection,
boolean silent)
Delete the primitives and everything they reference.
|
Constructor and Description |
---|
AddCommand(OsmDataLayer layer,
OsmPrimitive osm)
Creates the command and specify the element to add in the context of the given data layer.
|
AddPrimitivesCommand(List<PrimitiveData> data,
List<PrimitiveData> toSelect,
OsmDataLayer layer)
Constructs a new
AddPrimitivesCommand to add data to the given layer. |
ChangeCommand(OsmDataLayer layer,
OsmPrimitive osm,
OsmPrimitive newOsm)
Constructs a new
ChangeCommand in the context of a given data layer. |
Command(OsmDataLayer layer)
Creates a new command in the context of a specific data layer
|
DeleteCommand(OsmDataLayer layer,
Collection<? extends OsmPrimitive> data)
Constructor for a collection of data to be deleted in the context of
a specific layer
|
DeleteCommand(OsmDataLayer layer,
OsmPrimitive data)
Constructor for a single data item.
|
PurgeCommand(OsmDataLayer layer,
Collection<OsmPrimitive> toPurge,
Collection<OsmPrimitive> makeIncomplete)
This command relies on a number of consistency conditions:
- makeIncomplete must be a subset of toPurge.
|
Constructor and Description |
---|
ConflictAddCommand(OsmDataLayer layer,
Conflict<? extends OsmPrimitive> conflict)
Constructs a new
ConflictAddCommand . |
ConflictResolveCommand(OsmDataLayer layer)
Constructs a new
ConflictResolveCommand in the context of a given data layer. |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
AutosaveTask.AutosaveLayerInfo.layer |
Modifier and Type | Method and Description |
---|---|
private void |
AutosaveTask.registerNewlayer(OsmDataLayer layer) |
Modifier and Type | Method and Description |
---|---|
void |
DatasetEventManager.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
MapView.editLayer
The edit layer is the current active data layer.
|
Modifier and Type | Method and Description |
---|---|
private OsmDataLayer |
MapView.findNewEditLayer(List<Layer> layersList) |
OsmDataLayer |
MapView.getEditLayer()
Replies the current edit layer, if any
|
Modifier and Type | Method and Description |
---|---|
void |
MapView.EditLayerChangeListener.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer)
Called after the active edit layer was changed.
|
protected void |
MapView.fireEditLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
private void |
MapView.onActiveEditLayerChanged(Layer oldActive,
OsmDataLayer oldEdit,
EnumSet<MapView.LayerListenerType> listenersToFire)
This is called whenever one of active layer/edit layer or both may have been changed,
|
private void |
MapView.onEditLayerChanged(OsmDataLayer oldEditLayer) |
void |
MapView.uploadDiscouragedChanged(OsmDataLayer layer,
boolean newValue) |
Modifier and Type | Method and Description |
---|---|
protected <P extends OsmPrimitive> |
ListMerger.findLayerFor(P primitive) |
Modifier and Type | Method and Description |
---|---|
OsmPrimitive |
PairTable.getPrimitiveInLayer(int row,
OsmDataLayer layer) |
Modifier and Type | Field and Description |
---|---|
protected OsmDataLayer |
InspectPrimitiveDialog.layer |
private OsmDataLayer |
ValidatorDialog.linkedLayer |
Modifier and Type | Method and Description |
---|---|
void |
SelectionListDialog.SearchAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
SelectionListDialog.SelectionListModel.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ConflictDialog.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
Constructor and Description |
---|
InspectPrimitiveDialog(Collection<OsmPrimitive> primitives,
OsmDataLayer layer) |
Modifier and Type | Method and Description |
---|---|
void |
ChangesetContentPanel.SelectInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetContentPanel.ZoomInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetDetailPanel.SelectInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetDetailPanel.ZoomInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetInSelectionListModel.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetsInActiveDataLayerListModel.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
Modifier and Type | Method and Description |
---|---|
void |
PropertiesDialog.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
DownloadRelationMemberTask.curLayer |
private OsmDataLayer |
ChildRelationBrowser.layer
the osm data layer this browser is related to
|
private OsmDataLayer |
RelationEditor.layer
the data layer the relation belongs to
|
private OsmDataLayer |
ReferringRelationsBrowser.layer |
private OsmDataLayer |
SelectionTableModel.layer
this selection table model only displays selected primitives in this layer
|
private OsmDataLayer |
DownloadRelationTask.layer |
OsmDataLayer |
RelationDialogManager.DialogContext.layer |
private OsmDataLayer |
ParentRelationLoadingTask.layer |
private OsmDataLayer |
MemberTableModel.layer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
ChildRelationBrowser.getLayer()
Replies the
OsmDataLayer this editor is related to |
protected OsmDataLayer |
RelationEditor.getLayer()
Replies the
OsmDataLayer in whose context this relation editor is
open |
protected OsmDataLayer |
ReferringRelationsBrowser.getLayer() |
protected OsmDataLayer |
ParentRelationLoadingTask.getLayer() |
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,
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(Collection<Relation> parents,
Collection<OsmPrimitive> children,
OsmDataLayer curLayer)
Creates a download task for downloading the child primitives
children for all parent
relations in parents . |
DownloadRelationMemberTask(Relation parent,
Collection<OsmPrimitive> children,
OsmDataLayer curLayer) |
DownloadRelationMemberTask(Relation parent,
Collection<OsmPrimitive> children,
OsmDataLayer curLayer,
Dialog dialog) |
DownloadRelationTask(Collection<Relation> relations,
OsmDataLayer layer)
Creates the download task
|
GenericRelationEditor(OsmDataLayer layer,
Relation relation,
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(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) |
RelationEditor(OsmDataLayer layer,
Relation relation,
Collection<RelationMember> selectedMembers)
Creates a new relation editor
|
SelectionTableModel(OsmDataLayer layer)
constructor
|
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
UpdatePrimitivesTask.layer |
private OsmDataLayer |
UploadPrimitivesTask.layer |
private OsmDataLayer |
UploadLayerTask.layer |
private OsmDataLayer |
DownloadPrimitivesTask.layer |
private OsmDataLayer |
DownloadPrimitivesWithReferrersTask.tmpLayer
Temporary layer where downloaded primitives are put
|
Constructor and Description |
---|
DownloadPrimitivesTask(OsmDataLayer layer,
List<PrimitiveId> ids,
boolean fullRelation)
Constructs a new
DownloadPrimitivesTask . |
DownloadPrimitivesTask(OsmDataLayer layer,
List<PrimitiveId> ids,
boolean fullRelation,
ProgressMonitor progressMonitor)
Constructs a new
DownloadPrimitivesTask . |
UpdatePrimitivesTask(OsmDataLayer layer,
Collection<? extends OsmPrimitive> toUpdate)
Creates the task
|
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 | Method and Description |
---|---|
void |
OsmDataLayer.LayerStateChangeListener.uploadDiscouragedChanged(OsmDataLayer layer,
boolean newValue)
Notifies that the "upload discouraged" (upload=no) state has changed.
|
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() |
Modifier and Type | Method and Description |
---|---|
OsmPrimitive |
OsmPrimitivesTable.getPrimitiveInLayer(int row,
OsmDataLayer layer) |
void |
OsmPrimitivesTable.setLayer(OsmDataLayer layer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
GeoJSONWriter.layer |
private OsmDataLayer |
OsmImporter.OsmImporterData.layer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
OsmImporter.createLayer(DataSet dataSet,
File associatedFile,
String layerName) |
OsmDataLayer |
OsmImporter.OsmImporterData.getLayer() |
Modifier and Type | Method and Description |
---|---|
protected void |
OsmChangeImporter.addDataLayer(DataSet dataSet,
OsmDataLayer layer,
String filePath) |
protected Runnable |
OsmImporter.createPostLayerTask(DataSet dataSet,
File associatedFile,
String layerName,
OsmDataLayer layer) |
protected void |
OsmExporter.doSave(File file,
OsmDataLayer layer) |
private void |
OsmExporter.save(File file,
OsmDataLayer layer,
boolean noBackup) |
void |
OsmWriter.writeLayer(OsmDataLayer layer) |
Constructor and Description |
---|
GeoJSONWriter(OsmDataLayer layer,
Projection projection)
Constructs a new
GeoJSONWriter . |
OsmImporterData(OsmDataLayer layer,
Runnable postLayerTask) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
OsmDataSessionExporter.layer |
Constructor and Description |
---|
OsmDataSessionExporter(OsmDataLayer layer)
Constructs a new
OsmDataSessionExporter . |