Modifier and Type | Field and Description |
---|---|
private List<? extends PrimitiveId> |
SplitWayAction.SplitWayResult.newSelection |
Modifier and Type | Method and Description |
---|---|
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,
List<PrimitiveId> ids,
boolean downloadReferrers,
boolean full) |
private static ExtendedDialog |
DownloadPrimitiveAction.reportProblemDialog(Set<PrimitiveId> errs,
String TITLE,
String TEXT,
String LIST_LABEL,
int msgType) |
Constructor and Description |
---|
SplitWayResult(Command command,
List<? extends PrimitiveId> newSelection,
Way originalWay,
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
|
Modifier and Type | Field and Description |
---|---|
protected Map<PrimitiveId,PrimitiveData> |
PurgeCommand.makeIncompleteData_byPrimId |
Modifier and Type | Field and Description |
---|---|
private Map<PrimitiveId,PrimitiveId> |
Conflict.mergedMap |
private Map<PrimitiveId,PrimitiveId> |
Conflict.mergedMap |
Modifier and Type | Method and Description |
---|---|
Map<PrimitiveId,PrimitiveId> |
Conflict.getMergedMap() |
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(Map<PrimitiveId,PrimitiveId> mergedMap) |
void |
Conflict.setMergedMap(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
An 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 Map<PrimitiveId,PrimitiveId> |
DataSetMerger.mergedMap
A map of all primitives that got replaced with other primitives.
|
private Map<PrimitiveId,PrimitiveId> |
DataSetMerger.mergedMap
A map of all primitives that got replaced with other primitives.
|
private Map<PrimitiveId,ChangesetDataSet.ChangesetModificationType> |
ChangesetDataSet.modificationTypes |
private 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 Map<PrimitiveId,HistoryOsmPrimitive> |
ChangesetDataSet.primitives |
private Map<PrimitiveId,OsmPrimitive> |
DataSet.primitivesMap |
private Iterator<Map.Entry<PrimitiveId,ChangesetDataSet.ChangesetModificationType>> |
ChangesetDataSet.DefaultIterator.typeIterator |
Modifier and Type | Method and Description |
---|---|
PrimitiveId |
AbstractPrimitive.getPrimitiveId()
Replies the unique primitive id for this primitive
|
PrimitiveId |
IPrimitive.getPrimitiveId() |
Modifier and Type | Method and Description |
---|---|
private boolean |
DataSet.__toggleSelected(PrimitiveId primitiveId) |
void |
DataSet.addSelected(PrimitiveId... osm) |
void |
DataSet.clearSelection(PrimitiveId... osm)
Remove 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. null, if there is no such primitive in the data set. |
OsmPrimitive |
DataSet.getPrimitiveById(PrimitiveId primitiveId) |
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) |
void |
DataSet.toggleSelected(PrimitiveId... osm) |
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addSelected(Collection<? extends PrimitiveId> selection)
Adds the primitives in
selection to the current selection
and notifies all SelectionChangedListener . |
private boolean |
DataSet.addSelected(Collection<? extends PrimitiveId> selection,
boolean fireSelectionChangeEvent)
Adds the primitives in
selection to the current selection. |
private BBox |
Relation.calculateBBox(Set<PrimitiveId> visitedRelations) |
void |
DataSet.clearSelection(Collection<? extends PrimitiveId> list) |
void |
DataSet.setSelected(Collection<? extends PrimitiveId> selection)
Sets the current selection to the primitives in
selection
and notifies all SelectionChangedListener . |
void |
DataSet.setSelected(Collection<? extends PrimitiveId> selection,
boolean fireSelectionChangeEvent)
Sets the current selection to the primitives in
selection . |
void |
DataSet.toggleSelected(Collection<? extends PrimitiveId> osm) |
Constructor and Description |
---|
RelationMemberData(String role,
PrimitiveId primitive) |
Modifier and Type | Field and Description |
---|---|
private Map<PrimitiveId,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 . null, if no
such history exists. |
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 Map<PrimitiveId,PrimitiveId> |
ListMergeModel.mergedMap |
private 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(List<PrimitiveId> deletedIds) |
protected void |
ListMergeModel.initPopulate(OsmPrimitive my,
OsmPrimitive their,
Map<PrimitiveId,PrimitiveId> mergedMap) |
protected void |
ListMergeModel.initPopulate(OsmPrimitive my,
OsmPrimitive their,
Map<PrimitiveId,PrimitiveId> mergedMap) |
Constructor and Description |
---|
PairTable(String name,
ListMergeModel<? extends PrimitiveId> model,
OsmPrimitivesTableModel dm,
TableColumnModel cm,
ListSelectionModel sm) |
Modifier and Type | Method and Description |
---|---|
void |
NodeListMergeModel.populate(Way my,
Way their,
Map<PrimitiveId,PrimitiveId> mergedMap)
|
void |
NodeListMergeModel.populate(Way my,
Way their,
Map<PrimitiveId,PrimitiveId> mergedMap)
|
Modifier and Type | Method and Description |
---|---|
void |
RelationMemberListMergeModel.populate(Relation my,
Relation their,
Map<PrimitiveId,PrimitiveId> mergedMap)
populates the model with the relation members in relation my and their
|
void |
RelationMemberListMergeModel.populate(Relation my,
Relation their,
Map<PrimitiveId,PrimitiveId> mergedMap)
populates the model with the relation members in relation my and their
|
Modifier and Type | Method and Description |
---|---|
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 Set<PrimitiveId> |
HistoryLoadTask.toLoad |
private Predicate<PrimitiveId> |
HistoryBrowserDialogManager.unloadedHistoryPredicate |
Modifier and Type | Method and Description |
---|---|
private static PrimitiveId |
NodeListViewer.primitiveIdAtRow(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(Collection<? extends PrimitiveId> primitives) |
Modifier and Type | Field and Description |
---|---|
private List<PrimitiveId> |
DownloadPrimitivesTask.ids |
private Set<PrimitiveId> |
DownloadPrimitivesTask.missingPrimitives |
Modifier and Type | Method and Description |
---|---|
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)
|
Constructor and Description |
---|
DownloadPrimitivesTask(OsmDataLayer layer,
List<PrimitiveId> ids,
boolean fullRelation)
Creates the task
|
Modifier and Type | Field and Description |
---|---|
private List<PrimitiveId> |
OsmIdTextField.OsmIdValidator.ids |
Modifier and Type | Method and Description |
---|---|
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 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 Map<PrimitiveId,OsmPrimitive> |
AbstractReader.externalIdMap
the map from external ids to read OsmPrimitives.
|
private Set<PrimitiveId> |
MultiFetchServerObjectReader.missingPrimitives |
Set<PrimitiveId> |
MultiFetchServerObjectReader.FetchResult.missingPrimitives
The collection of primitive ids that could not have been loaded
|
Modifier and Type | Method and Description |
---|---|
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 |
---|
FetchResult(DataSet dataSet,
Set<PrimitiveId> missingPrimitives)
Constructs a
FetchResult |
Modifier and Type | Field and Description |
---|---|
private List<PrimitiveId> |
LoadObjectHandler.ps |
Modifier and Type | Method and Description |
---|---|
static void |
CheckParameterUtil.ensureValidNodeId(PrimitiveId id,
String parameterName)
Ensures that
id is non-null primitive id of type OsmPrimitiveType.NODE |
static void |
CheckParameterUtil.ensureValidPrimitiveId(PrimitiveId id,
String parameterName)
Ensures an OSM primitive ID is valid
|