Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
Main.getEditLayer()
Replies the current edit layer
|
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
UploadSelectionAction.DeletedParentsChecker.layer |
private OsmDataLayer |
ToggleUploadDiscouragedLayerAction.layer |
protected OsmDataLayer |
PurgeAction.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) |
boolean |
UploadAction.checkPreUploadConditions(OsmDataLayer layer) |
boolean |
UploadAction.checkPreUploadConditions(OsmDataLayer layer,
APIDataSet apiData)
Check whether the preconditions are met to upload data in
apiData . |
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 . |
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,
java.util.Map<java.lang.Long,OsmPrimitiveType> children)
Downloads the primitives referring to the primitives in
primitives
into the target layer targetLayer . |
static Command |
MergeNodesAction.mergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
static Command |
MergeNodesAction.mergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetNode,
Node targetLocationNode)
Merges the nodes in
nodes onto one of the nodes. |
protected void |
UploadSelectionAction.processPostParentChecker(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> toUpload) |
static SplitWayAction.SplitWayResult |
SplitWayAction.split(OsmDataLayer layer,
Way way,
java.util.List<Node> atNodes,
java.util.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,
java.util.List<java.util.List<Node>> wayChunks,
java.util.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 . |
void |
UpdateDataAction.updateLayer(OsmDataLayer layer) |
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. |
static boolean |
UploadAction.warnUploadDiscouraged(OsmDataLayer layer)
returns true if the user wants to cancel, false if they
want to continue
|
Constructor and Description |
---|
DeletedParentsChecker(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> toUpload) |
ToggleUploadDiscouragedLayerAction(OsmDataLayer layer) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
DownloadReferrersTask.targetLayer
the target layer
|
protected OsmDataLayer |
DownloadOsmTask.targetLayer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
DownloadOsmTask.DownloadTask.createNewLayer() |
protected OsmDataLayer |
DownloadOsmTask.DownloadTask.createNewLayer(java.lang.String layerName) |
protected OsmDataLayer |
DownloadOsmTask.DownloadTask.getEditLayer() |
protected OsmDataLayer |
DownloadOsmTask.DownloadTask.getFirstDataLayer() |
Constructor and Description |
---|
DownloadReferrersTask(OsmDataLayer targetLayer,
java.util.Collection<OsmPrimitive> children)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
long id,
OsmPrimitiveType type)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
java.util.Map<java.lang.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.
|
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 |
---|---|
protected static java.util.Collection<Node> |
DeleteCommand.computeNodesToDelete(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> primitivesToDelete)
Replies the collection of nodes referred to by primitives in
primitivesToDelete which
can be deleted too. |
static Command |
DeleteCommand.delete(OsmDataLayer layer,
java.util.Collection<? extends OsmPrimitive> selection) |
static Command |
DeleteCommand.delete(OsmDataLayer layer,
java.util.Collection<? extends OsmPrimitive> selection,
boolean alsoDeleteNodesInWay)
Try to delete all given primitives.
|
static Command |
DeleteCommand.delete(OsmDataLayer layer,
java.util.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,
java.util.Collection<? extends OsmPrimitive> selection) |
static Command |
DeleteCommand.deleteWithReferences(OsmDataLayer layer,
java.util.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(java.util.List<PrimitiveData> data,
java.util.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,
java.util.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,
java.util.Collection<OsmPrimitive> toPurge,
java.util.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 |
---|---|
(package 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 |
Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
MapView.getEditLayer()
Replies the current edit layer, if any
|
Modifier and Type | Method and Description |
---|---|
void |
MapView.EditLayerChangeListener.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
protected static void |
MapView.fireEditLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
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(java.util.Collection<OsmPrimitive> primitives,
OsmDataLayer layer) |
Modifier and Type | Method and Description |
---|---|
void |
ChangesetsInActiveDataLayerListModel.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetDetailPanel.SelectInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetDetailPanel.ZoomInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetContentPanel.SelectInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetContentPanel.ZoomInCurrentLayerAction.editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer) |
void |
ChangesetInSelectionListModel.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 |
RelationEditor.layer
the data layer the relation belongs to
|
private OsmDataLayer |
MemberTableModel.layer |
private OsmDataLayer |
SelectionTableModel.layer
this selection table model only displays selected primitives in this layer
|
private OsmDataLayer |
DownloadRelationTask.layer |
private OsmDataLayer |
ReferringRelationsBrowser.layer |
OsmDataLayer |
RelationDialogManager.DialogContext.layer |
private OsmDataLayer |
ChildRelationBrowser.layer
the osm data layer this browser is related to
|
private OsmDataLayer |
ParentRelationLoadingTask.layer |
Modifier and Type | Method and Description |
---|---|
protected OsmDataLayer |
RelationEditor.getLayer()
Replies the
OsmDataLayer in whose context this relation editor is
open |
OsmDataLayer |
MemberTableModel.getLayer() |
protected OsmDataLayer |
ReferringRelationsBrowser.getLayer() |
protected OsmDataLayer |
ChildRelationBrowser.getLayer()
Replies the
OsmDataLayer this editor is related to |
protected OsmDataLayer |
ParentRelationLoadingTask.getLayer() |
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,
MemberTableModel model)
constructor for relation member table
|
MemberTableModel(OsmDataLayer layer,
PresetHandler 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,
java.util.Collection<RelationMember> selectedMembers)
Creates a new relation editor
|
SelectionTableModel(OsmDataLayer layer)
constructor
|
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
DownloadPrimitivesTask.layer |
private OsmDataLayer |
UploadLayerTask.layer |
private OsmDataLayer |
SaveLayerInfo.layer
the osm data layer
|
private OsmDataLayer |
UploadPrimitivesTask.layer |
private OsmDataLayer |
UpdatePrimitivesTask.layer |
private OsmDataLayer |
DownloadPrimitivesWithReferrersTask.tmpLayer
Temporary layer where downloaded primitives are put
|
Modifier and Type | Method and Description |
---|---|
OsmDataLayer |
SaveLayerInfo.getLayer()
Replies the layer this info objects holds information for
|
Modifier and Type | Method and Description |
---|---|
SaveLayerInfo |
SaveLayersModel.getSaveLayerInfo(OsmDataLayer layer) |
void |
SaveLayersModel.setSaveState(OsmDataLayer layer,
UploadOrSaveState state) |
void |
SaveLayersModel.setUploadState(OsmDataLayer layer,
UploadOrSaveState state) |
Modifier and Type | Method and Description |
---|---|
void |
SaveLayersModel.populate(java.util.List<OsmDataLayer> layers) |
Constructor and Description |
---|
DownloadPrimitivesTask(OsmDataLayer layer,
java.util.List<PrimitiveId> ids,
boolean fullRelation)
Creates the task
|
DownloadPrimitivesTask(OsmDataLayer layer,
java.util.List<PrimitiveId> ids,
boolean fullRelation,
ProgressMonitor progessMonitor)
Creates the task
|
SaveLayerInfo(OsmDataLayer layer)
Constructs a new
SaveLayerInfo . |
UpdatePrimitivesTask(OsmDataLayer layer,
java.util.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,
java.io.File associatedFile,
java.lang.String layerName) |
OsmDataLayer |
OsmImporter.OsmImporterData.getLayer() |
Modifier and Type | Method and Description |
---|---|
protected void |
OsmChangeImporter.addDataLayer(DataSet dataSet,
OsmDataLayer layer,
java.lang.String filePath) |
protected java.lang.Runnable |
OsmImporter.createPostLayerTask(DataSet dataSet,
java.io.File associatedFile,
java.lang.String layerName,
OsmDataLayer layer) |
private void |
OsmExporter.save(java.io.File file,
OsmDataLayer layer,
boolean noBackup) |
void |
OsmWriter.writeLayer(OsmDataLayer layer) |
Constructor and Description |
---|
GeoJSONWriter(OsmDataLayer layer)
Constructs a new
GeoJSONWriter . |
OsmImporterData(OsmDataLayer layer,
java.lang.Runnable postLayerTask) |
Modifier and Type | Field and Description |
---|---|
private OsmDataLayer |
OsmDataSessionExporter.layer |
Constructor and Description |
---|
OsmDataSessionExporter(OsmDataLayer layer) |