Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends PrimitiveId> |
SplitWayAction.SplitWayResult.newSelection |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends PrimitiveId> |
SplitWayAction.SplitWayResult.getNewSelection()
Replies the new list of selected primitives ids
|
Modifier and Type | Method and Description |
---|---|
static void |
UpdateSelectionAction.updatePrimitive(PrimitiveId id)
Updates the data for the
OsmPrimitive s with id id
with the data currently kept on the server. |
Modifier and Type | Method and Description |
---|---|
static void |
DownloadPrimitiveAction.processItems(boolean newLayer,
java.util.List<PrimitiveId> ids,
boolean downloadReferrers,
boolean full) |
Constructor and Description |
---|
SplitWayAction.SplitWayResult(Command command,
java.util.List<? extends PrimitiveId> newSelection,
Way originalWay,
java.util.List<Way> newWays) |
Modifier and Type | Method and Description |
---|---|
void |
DownloadOsmChangeTask.HistoryLoaderAndListener.historyUpdated(HistoryDataSet source,
PrimitiveId id) |
Constructor and Description |
---|
DownloadReferrersTask(OsmDataLayer targetLayer,
PrimitiveId primitiveId)
constructor
|
DownloadReferrersTask(OsmDataLayer targetLayer,
PrimitiveId primitiveId,
ProgressMonitor progressMonitor)
constructor
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<PrimitiveId,PrimitiveData> |
PurgeCommand.makeIncompleteData_byPrimId |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PrimitiveId,PrimitiveId> |
Conflict.mergedMap |
private java.util.Map<PrimitiveId,PrimitiveId> |
Conflict.mergedMap |
Modifier and Type | Method and Description |
---|---|
java.util.Map<PrimitiveId,PrimitiveId> |
Conflict.getMergedMap() |
java.util.Map<PrimitiveId,PrimitiveId> |
Conflict.getMergedMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
Conflict.isParticipating(PrimitiveId id)
Replies true if the primitive with id
id is participating
in this conflict |
Modifier and Type | Method and Description |
---|---|
void |
Conflict.setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap) |
void |
Conflict.setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap) |
Modifier and Type | Interface and Description |
---|---|
interface |
INode |
interface |
IPrimitive
IPrimitive captures the common functions of
OsmPrimitive and PrimitiveData . |
interface |
IRelation |
interface |
IWay |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrimitive
Abstract class to represent common features of the datatypes primitives.
|
class |
Node
One node data, consisting of one world coordinate waypoint.
|
class |
NodeData |
class |
OsmPrimitive
|
class |
PrimitiveData
This class can be used to save properties of OsmPrimitive.
|
class |
Relation
A relation, having a set of tags and any number (0...n) of members.
|
class |
RelationData |
class |
RelationMember
A linkage class that can be used by an relation to keep a list of
members.
|
class |
RelationMemberData |
class |
SimplePrimitiveId |
class |
Way
One full way, consisting of a list of way
nodes . |
class |
WayData |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PrimitiveId,PrimitiveId> |
DataSetMerger.mergedMap
A map of all primitives that got replaced with other primitives.
|
private java.util.Map<PrimitiveId,PrimitiveId> |
DataSetMerger.mergedMap
A map of all primitives that got replaced with other primitives.
|
private java.util.Map<PrimitiveId,ChangesetDataSet.ChangesetModificationType> |
ChangesetDataSet.modificationTypes |
private java.util.Set<PrimitiveId> |
DataSetMerger.objectsWithChildrenToMerge
a set of primitive ids for which we have to fix references (to nodes and
to relation members) after the first phase of merging
|
private java.util.Map<PrimitiveId,HistoryOsmPrimitive> |
ChangesetDataSet.primitives |
private java.util.Map<PrimitiveId,OsmPrimitive> |
DataSet.primitivesMap |
private java.util.Iterator<java.util.Map.Entry<PrimitiveId,ChangesetDataSet.ChangesetModificationType>> |
ChangesetDataSet.DefaultIterator.typeIterator |
Modifier and Type | Method and Description |
---|---|
PrimitiveId |
IPrimitive.getPrimitiveId() |
PrimitiveId |
AbstractPrimitive.getPrimitiveId()
Replies the unique primitive id for this primitive
|
Modifier and Type | Method and Description |
---|---|
private boolean |
DataSet.__toggleSelected(PrimitiveId primitiveId) |
void |
DataSet.addSelected(PrimitiveId... osm)
Adds the primitives in
osm to the current selection
and notifies all SelectionChangedListener . |
void |
DataSet.clearSelection(PrimitiveId... osm)
Removes the selection from every value in the collection.
|
boolean |
ChangesetDataSet.contains(PrimitiveId id)
Replies true if the changeset content contains the object with primitive
id . |
boolean |
Storage.PrimitiveIdHash.equals(PrimitiveId key,
PrimitiveId value) |
int |
Storage.PrimitiveIdHash.getHashCode(PrimitiveId k) |
ChangesetDataSet.ChangesetModificationType |
ChangesetDataSet.getModificationType(PrimitiveId id)
Replies the modification type for the object with id
id . |
HistoryOsmPrimitive |
ChangesetDataSet.getPrimitive(PrimitiveId id)
Replies the
HistoryOsmPrimitive with id id from this
dataset. |
OsmPrimitive |
DataSet.getPrimitiveById(PrimitiveId primitiveId)
Returns a primitive with a given id from the data set.
|
private OsmPrimitive |
DataSet.getPrimitiveByIdChecked(PrimitiveId primitiveId)
Show message and stack trace in log in case primitive is not found
|
boolean |
ChangesetDataSet.isCreated(PrimitiveId id)
Replies true if the primitive with id
id was created in this
changeset. |
boolean |
ChangesetDataSet.isDeleted(PrimitiveId id)
Replies true if the primitive with id
id was deleted in this
changeset. |
boolean |
ChangesetDataSet.isUpdated(PrimitiveId id)
Replies true if the primitive with id
id was updated in this
changeset. |
void |
DataSet.removePrimitive(PrimitiveId primitiveId)
Removes a primitive from the dataset.
|
void |
DataSet.setSelected(PrimitiveId... osm)
Sets the current selection to the primitives in
osm
and notifies all SelectionChangedListener . |
void |
DataSet.toggleSelected(PrimitiveId... osm)
Toggles the selected state of the given collection of primitives.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addSelected(java.util.Collection<? extends PrimitiveId> selection)
Adds the primitives in
selection to the current selection
and notifies all SelectionChangedListener . |
private boolean |
DataSet.addSelected(java.util.Collection<? extends PrimitiveId> selection,
boolean fireSelectionChangeEvent)
Adds the primitives in
selection to the current selection. |
private BBox |
Relation.calculateBBox(java.util.Set<PrimitiveId> visitedRelations) |
void |
DataSet.clearSelection(java.util.Collection<? extends PrimitiveId> list)
Removes the selection from every value in the collection.
|
void |
DataSet.setSelected(java.util.Collection<? extends PrimitiveId> selection)
Sets the current selection to the primitives in
selection
and notifies all SelectionChangedListener . |
void |
DataSet.setSelected(java.util.Collection<? extends PrimitiveId> selection,
boolean fireSelectionChangeEvent)
Sets the current selection to the primitives in
selection . |
void |
DataSet.toggleSelected(java.util.Collection<? extends PrimitiveId> osm)
Toggles the selected state of the given collection of primitives.
|
Constructor and Description |
---|
RelationMemberData(java.lang.String role,
PrimitiveId primitive) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PrimitiveId,java.util.ArrayList<HistoryOsmPrimitive>> |
HistoryDataSet.data
the history data
|
Modifier and Type | Method and Description |
---|---|
PrimitiveId |
History.getPrimitiveId()
Replies the primitive id for this history.
|
PrimitiveId |
HistoryOsmPrimitive.getPrimitiveId() |
Modifier and Type | Method and Description |
---|---|
protected void |
HistoryDataSet.fireHistoryUpdated(PrimitiveId id) |
History |
HistoryDataSet.getHistory(PrimitiveId pid)
Replies the history for a primitive with id
id . |
void |
HistoryDataSetListener.historyUpdated(HistoryDataSet source,
PrimitiveId id)
Fired by a
HistoryDataSet if the cached history of an OSM primitive with
id id is updated |
Modifier and Type | Class and Description |
---|---|
class |
ListMergeModel<T extends PrimitiveId>
ListMergeModel is a model for interactively comparing and merging two list of entries
of type T.
|
class |
ListMerger<T extends PrimitiveId>
A UI component for resolving conflicts in two lists of entries of type T.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PrimitiveId,PrimitiveId> |
ListMergeModel.mergedMap |
private java.util.Map<PrimitiveId,PrimitiveId> |
ListMergeModel.mergedMap |
private ListMergeModel<? extends PrimitiveId> |
PairTable.model |
Modifier and Type | Method and Description |
---|---|
OsmPrimitive |
ListMergeModel.getMyPrimitiveById(PrimitiveId entry) |
Modifier and Type | Method and Description |
---|---|
protected void |
ListMergeModel.alertCopyFailedForDeletedPrimitives(java.util.List<PrimitiveId> deletedIds) |
protected void |
ListMergeModel.initPopulate(OsmPrimitive my,
OsmPrimitive their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap) |
protected void |
ListMergeModel.initPopulate(OsmPrimitive my,
OsmPrimitive their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap) |
Constructor and Description |
---|
PairTable(java.lang.String name,
ListMergeModel<? extends PrimitiveId> model,
OsmPrimitivesTableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm) |
Modifier and Type | Method and Description |
---|---|
void |
NodeListMergeModel.populate(Way my,
Way their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
|
void |
NodeListMergeModel.populate(Way my,
Way their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
|
Modifier and Type | Method and Description |
---|---|
void |
RelationMemberListMergeModel.populate(Relation my,
Relation their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
populates the model with the relation members in relation my and their
|
void |
RelationMemberListMergeModel.populate(Relation my,
Relation their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
populates the model with the relation members in relation my and their
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PrimitiveId> |
OsmIdSelectionDialog.getOsmIds()
Gets the requested OSM object IDs.
|
Modifier and Type | Method and Description |
---|---|
void |
HistoryDialog.historyUpdated(HistoryDataSet source,
PrimitiveId primitiveId) |
Modifier and Type | Field and Description |
---|---|
private PrimitiveId |
NodeListViewer.ZoomToNodeAction.primitiveId |
private PrimitiveId |
NodeListViewer.ShowHistoryAction.primitiveId |
Modifier and Type | Field and Description |
---|---|
private Predicate<PrimitiveId> |
HistoryBrowserDialogManager.notNewPredicate |
private java.util.Set<PrimitiveId> |
HistoryLoadTask.toLoad |
private Predicate<PrimitiveId> |
HistoryBrowserDialogManager.unloadedHistoryPredicate |
Modifier and Type | Method and Description |
---|---|
private static PrimitiveId |
NodeListViewer.primitiveIdAtRow(javax.swing.table.TableModel model,
int row) |
Modifier and Type | Method and Description |
---|---|
HistoryLoadTask |
HistoryLoadTask.add(PrimitiveId pid)
Adds an object whose history is to be loaded.
|
void |
HistoryBrowserDialog.historyUpdated(HistoryDataSet source,
PrimitiveId primitiveId) |
void |
NodeListViewer.NodeListPopupMenu.prepare(PrimitiveId pid) |
void |
NodeListViewer.ZoomToNodeAction.setPrimitiveId(PrimitiveId pid) |
void |
NodeListViewer.ShowHistoryAction.setPrimitiveId(PrimitiveId pid) |
Modifier and Type | Method and Description |
---|---|
void |
HistoryBrowserDialogManager.showHistory(java.util.Collection<? extends PrimitiveId> primitives)
Show history dialog(s) for the given primitive(s).
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<PrimitiveId> |
DownloadPrimitivesWithReferrersTask.ids
List of primitives id to download
|
private java.util.List<PrimitiveId> |
DownloadPrimitivesTask.ids |
private java.util.Set<PrimitiveId> |
DownloadPrimitivesTask.missingPrimitives |
Modifier and Type | Method and Description |
---|---|
java.util.List<PrimitiveId> |
DownloadPrimitivesWithReferrersTask.getDownloadedId()
Return id of really downloaded primitives.
|
java.util.Set<PrimitiveId> |
DownloadPrimitivesTask.getMissingPrimitives()
replies the set of ids of all primitives for which a fetch request to the
server was submitted but which are not available from the server (the server
replied a return code of 404)
|
Modifier and Type | Method and Description |
---|---|
private static ExtendedDialog |
DownloadPrimitivesWithReferrersTask.reportProblemDialog(java.util.Set<PrimitiveId> errs,
java.lang.String title,
java.lang.String text,
java.lang.String listLabel,
int msgType)
Dialog for report a problem during download.
|
Constructor and Description |
---|
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 . |
DownloadPrimitivesWithReferrersTask(boolean newLayer,
java.util.List<PrimitiveId> ids,
boolean downloadReferrers,
boolean full,
ProgressMonitor monitor)
Constructor
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<PrimitiveId> |
OsmIdTextField.OsmIdValidator.ids |
Modifier and Type | Method and Description |
---|---|
java.util.List<PrimitiveId> |
OsmIdTextField.getIds()
Get entered ID list - supports "1,2,3" "1 2 ,3" or even "1 2 3 v2 6 v8"
|
Modifier and Type | Field and Description |
---|---|
private PrimitiveId |
OsmServerObjectReader.id
the id of the object to download
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PrimitiveId,DiffResultProcessor.DiffResultEntry> |
DiffResultProcessor.diffResults
mapping from old id to new id and version, the result of parsing the diff result
replied by the server
|
protected java.util.Map<PrimitiveId,OsmPrimitive> |
AbstractReader.externalIdMap
the map from external ids to read OsmPrimitives.
|
private java.util.Set<PrimitiveId> |
MultiFetchServerObjectReader.missingPrimitives |
java.util.Set<PrimitiveId> |
MultiFetchServerObjectReader.FetchResult.missingPrimitives
The collection of primitive ids that could not have been loaded
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<PrimitiveId> |
MultiFetchServerObjectReader.getMissingPrimitives()
replies the set of ids of all primitives for which a fetch request to the
server was submitted but which are not available from the server (the server
replied a return code of 404)
|
Modifier and Type | Method and Description |
---|---|
protected void |
MultiFetchServerObjectReader.remember(PrimitiveId id)
Remembers an
OsmPrimitive 's id. |
Constructor and Description |
---|
OsmServerObjectReader(PrimitiveId id,
boolean full)
Creates a new server object reader for an object with the given
id |
OsmServerObjectReader(PrimitiveId id,
boolean full,
int version) |
OsmServerObjectReader(PrimitiveId id,
int version)
Creates a new server object reader for an object with the given
id |
Constructor and Description |
---|
MultiFetchServerObjectReader.FetchResult(DataSet dataSet,
java.util.Set<PrimitiveId> missingPrimitives)
Constructs a
FetchResult |
Modifier and Type | Field and Description |
---|---|
private java.util.List<PrimitiveId> |
LoadObjectHandler.ps |
Modifier and Type | Method and Description |
---|---|
static void |
CheckParameterUtil.ensureValidNodeId(PrimitiveId id,
java.lang.String parameterName)
Ensures that
id is non-null primitive id of type OsmPrimitiveType.NODE |
static void |
CheckParameterUtil.ensureValidPrimitiveId(PrimitiveId id,
java.lang.String parameterName)
Ensures an OSM primitive ID is valid
|