Uses of Interface
org.openstreetmap.josm.data.osm.PrimitiveId
-
Packages that use PrimitiveId Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.downloadtasks Provides the classes for JOSMdownload tasks
.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.data.conflict Provides the classes for editionconflicts
betweenOsmPrimitive
sorg.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.osm.history Provides the classes for OSM primitiveshistory
(edition revisions).org.openstreetmap.josm.data.vector Provides classes for vector data like Mapbox Vector Tiles.org.openstreetmap.josm.gui.conflict.pair Provides the classes for displaying conflicts as pair of lists.org.openstreetmap.josm.gui.conflict.pair.nodes Provides the classes for displaying conflicts in ways list of nodes.org.openstreetmap.josm.gui.conflict.pair.relation Provides the classes for displaying conflicts in OSM primitive relation memberships.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 elseorg.openstreetmap.josm.gui.dialogs.relation Toggle dialog allowing to display currently loaded relations and perform operations on them.org.openstreetmap.josm.gui.history Provides GUI classes for handling history of OSM objects.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.mappaint.mapcss Drawing system based on MapCSS map styles.org.openstreetmap.josm.gui.widgets Provides GUI widgets customized for JOSM needs.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.io.remotecontrol.handler Provides the classes for remote control handlers (features exposed to the browser). -
-
Uses of PrimitiveId in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions with parameters of type PrimitiveId Modifier and Type Method Description static void
UpdateSelectionAction. updatePrimitive(PrimitiveId id)
Updates the data for theOsmPrimitive
s with idid
with the data currently kept on the server.Method parameters in org.openstreetmap.josm.actions with type arguments of type PrimitiveId Modifier and Type Method Description static void
DownloadPrimitiveAction. processItems(boolean newLayer, java.util.List<PrimitiveId> ids, boolean downloadReferrers, boolean full)
Submits the download task for the given primitive ids. -
Uses of PrimitiveId in org.openstreetmap.josm.actions.downloadtasks
Fields in org.openstreetmap.josm.actions.downloadtasks with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Set<PrimitiveId>
DownloadReferrersTask. children
the collection of child primitivesMethods in org.openstreetmap.josm.actions.downloadtasks with parameters of type PrimitiveId Modifier and Type Method Description void
DownloadOsmChangeTask.HistoryLoaderAndListener. historyUpdated(HistoryDataSet source, PrimitiveId id)
Constructors in org.openstreetmap.josm.actions.downloadtasks with parameters of type PrimitiveId Constructor Description DownloadReferrersTask(OsmDataLayer targetLayer, PrimitiveId primitiveId, ProgressMonitor progressMonitor)
constructorConstructor parameters in org.openstreetmap.josm.actions.downloadtasks with type arguments of type PrimitiveId Constructor Description DownloadReferrersTask(OsmDataLayer targetLayer, java.util.Collection<? extends PrimitiveId> children)
constructor -
Uses of PrimitiveId in org.openstreetmap.josm.command
Fields in org.openstreetmap.josm.command with type parameters of type PrimitiveId Modifier and Type Field Description protected java.util.Map<PrimitiveId,PrimitiveData>
PurgeCommand. makeIncompleteDataByPrimId
private java.util.List<? extends PrimitiveId>
SplitWayCommand. newSelection
Methods in org.openstreetmap.josm.command that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.List<? extends PrimitiveId>
SplitWayCommand. getNewSelection()
Replies the new list of selected primitives idsConstructor parameters in org.openstreetmap.josm.command with type arguments of type PrimitiveId Constructor Description SplitWayCommand(java.lang.String name, java.util.Collection<Command> commandList, java.util.List<? extends PrimitiveId> newSelection, Way originalWay, java.util.List<Way> newWays)
Create a newSplitWayCommand
. -
Uses of PrimitiveId in org.openstreetmap.josm.data.conflict
Fields in org.openstreetmap.josm.data.conflict with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Map<PrimitiveId,PrimitiveId>
Conflict. mergedMap
private java.util.Map<PrimitiveId,PrimitiveId>
Conflict. mergedMap
Methods in org.openstreetmap.josm.data.conflict that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.Map<PrimitiveId,PrimitiveId>
Conflict. getMergedMap()
java.util.Map<PrimitiveId,PrimitiveId>
Conflict. getMergedMap()
Methods in org.openstreetmap.josm.data.conflict with parameters of type PrimitiveId Modifier and Type Method Description boolean
Conflict. isParticipating(PrimitiveId id)
Replies true if the primitive with idid
is participating in this conflictMethod parameters in org.openstreetmap.josm.data.conflict with type arguments of type PrimitiveId Modifier and Type Method Description void
Conflict. setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
void
Conflict. setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
-
Uses of PrimitiveId in org.openstreetmap.josm.data.osm
Subinterfaces of PrimitiveId in org.openstreetmap.josm.data.osm Modifier and Type Interface Description interface
INode
interface
IPrimitive
IPrimitive captures the common functions ofOsmPrimitive
andPrimitiveData
.interface
IRelation<M extends IRelationMember<? extends IPrimitive>>
IRelation captures the common functions ofRelation
andRelationData
.interface
IRelationMember<P extends IPrimitive>
IRelationMember captures the common functions ofRelationMember
andRelationMemberData
.interface
IWay<N extends INode>
Classes in org.openstreetmap.josm.data.osm that implement PrimitiveId Modifier and Type Class 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
The data on a single node (tags and position) that is stored in the databaseclass
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
Relation data.class
RelationMember
A linkage class that can be used by an relation to keep a list of members.class
RelationMemberData
This is the data (role, type and id) that is stored in the database for a given relation member.class
SimplePrimitiveId
A primitive id and a primitive typeclass
Way
One full way, consisting of a list of waynodes
.class
WayData
The data (tags and node ids) that is stored for a way in the database.Fields in org.openstreetmap.josm.data.osm with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Map<PrimitiveId,java.lang.Object>
ChangesetDataSet. entryMap
maps an id to either oneChangesetDataSet.ChangesetDataSetEntry
or an array ofChangesetDataSet.ChangesetDataSetEntry
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.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 mergingprivate java.util.Map<PrimitiveId,OsmPrimitive>
DataSet. primitivesMap
private java.util.Iterator<java.util.Map.Entry<PrimitiveId,java.lang.Object>>
ChangesetDataSet.DefaultIterator. typeIterator
Methods in org.openstreetmap.josm.data.osm that return PrimitiveId Modifier and Type Method Description default PrimitiveId
IPrimitive. getOsmPrimitiveId()
Replies the OSM primitive id for this primitive.default PrimitiveId
IPrimitive. getPrimitiveId()
Replies the unique primitive id for this primitive.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.Set<PrimitiveId>
ChangesetDataSet. getIds()
Returns an unmodifiable set of all primitives in this dataset.Methods in org.openstreetmap.josm.data.osm with parameters of type PrimitiveId Modifier and Type Method Description void
DataSet. addSelected(PrimitiveId... osm)
void
OsmData. addSelected(PrimitiveId... osm)
Adds the primitives inosm
to the current selection and notifies allDataSelectionListener
.void
DataSet. clearSelection(PrimitiveId... osm)
void
OsmData. 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 primitiveid
.boolean
Storage.PrimitiveIdHash. equals(PrimitiveId key, PrimitiveId value)
private ChangesetDataSet.ChangesetDataSetEntry
ChangesetDataSet. getEntry(PrimitiveId id, int n)
ChangesetDataSet.ChangesetDataSetEntry
ChangesetDataSet. getFirstEntry(PrimitiveId id)
Replies the firstChangesetDataSet.ChangesetDataSetEntry
with idid
from this dataset.int
Storage.PrimitiveIdHash. getHashCode(PrimitiveId k)
ChangesetDataSet.ChangesetDataSetEntry
ChangesetDataSet. getLastEntry(PrimitiveId id)
Replies the lastChangesetDataSet.ChangesetDataSetEntry
with idid
from this dataset.ChangesetDataSet.ChangesetModificationType
ChangesetDataSet. getModificationType(PrimitiveId id)
Replies the last modification type for the object with idid
.HistoryOsmPrimitive
ChangesetDataSet. getPrimitive(PrimitiveId id)
Replies theHistoryOsmPrimitive
with idid
from this dataset.OsmPrimitive
DataSet. getPrimitiveById(PrimitiveId primitiveId)
O
OsmData. 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 foundboolean
ChangesetDataSet. isCreated(PrimitiveId id)
Replies true if the primitive with idid
was created in this changeset.boolean
ChangesetDataSet. isDeleted(PrimitiveId id)
Replies true if the primitive with idid
was deleted in this changeset.boolean
ChangesetDataSet. isUpdated(PrimitiveId id)
Replies true if the primitive with idid
was updated in this changeset.void
DataSet. removePrimitive(PrimitiveId primitiveId)
Removes a primitive from the dataset.void
DataSet. removePrimitives(PrimitiveId... primitiveIds)
Removes primitives from the dataset.void
DataSet. setSelected(PrimitiveId... osm)
void
OsmData. setSelected(PrimitiveId... osm)
Sets the current selection to the primitives inosm
and notifies allDataSelectionListener
.void
DataSet. toggleSelected(PrimitiveId... osm)
void
OsmData. toggleSelected(PrimitiveId... osm)
Toggles the selected state of the given collection of primitives.static java.lang.String
SimplePrimitiveId. toSimpleId(PrimitiveId primitive)
Convert a primitive to a simple idMethod parameters in org.openstreetmap.josm.data.osm with type arguments of type PrimitiveId Modifier and Type Method Description void
DataSet. addSelected(java.util.Collection<? extends PrimitiveId> selection)
private void
DataSet. addSelected(java.util.stream.Stream<? extends PrimitiveId> stream)
void
OsmData. addSelected(java.util.Collection<? extends PrimitiveId> selection)
Adds the primitives inselection
to the current selection and notifies allDataSelectionListener
.protected void
Node. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)
protected abstract void
OsmPrimitive. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)
If necessary, extend the bbox to contain this primitiveprotected void
Relation. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)
protected void
Way. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)
void
DataSet. clearSelection(java.util.Collection<? extends PrimitiveId> list)
private void
DataSet. clearSelection(java.util.stream.Stream<? extends PrimitiveId> stream)
void
OsmData. clearSelection(java.util.Collection<? extends PrimitiveId> list)
Removes the selection from every value in the collection.void
DataSet. removePrimitives(java.util.Collection<PrimitiveId> primitiveIds)
Removes primitives from the dataset.void
DataSet. setSelected(java.util.Collection<? extends PrimitiveId> selection)
private void
DataSet. setSelected(java.util.stream.Stream<? extends PrimitiveId> stream)
void
OsmData. setSelected(java.util.Collection<? extends PrimitiveId> selection)
Sets the current selection to the primitives inselection
and notifies allDataSelectionListener
.void
DataSet. toggleSelected(java.util.Collection<? extends PrimitiveId> osm)
private void
DataSet. toggleSelected(java.util.stream.Stream<? extends PrimitiveId> stream)
void
OsmData. toggleSelected(java.util.Collection<? extends PrimitiveId> osm)
Toggles the selected state of the given collection of primitives.Constructors in org.openstreetmap.josm.data.osm with parameters of type PrimitiveId Constructor Description RelationMemberData(java.lang.String role, PrimitiveId primitive)
Constructs a newRelationMemberData
.Constructor parameters in org.openstreetmap.josm.data.osm with type arguments of type PrimitiveId Constructor Description DefaultIterator(java.util.Map<PrimitiveId,java.lang.Object> entryMap)
-
Uses of PrimitiveId in org.openstreetmap.josm.data.osm.history
Classes in org.openstreetmap.josm.data.osm.history that implement PrimitiveId Modifier and Type Class Description class
HistoryNode
Represents an immutable OSM node in the context of a historical view on OSM data.class
HistoryOsmPrimitive
Represents an immutable OSM primitive in the context of a historical view on OSM data.class
HistoryRelation
Represents an immutable OSM relation in the context of a historical view on OSM data.class
HistoryWay
Represents an immutable OSM way in the context of a historical view on OSM data.Fields in org.openstreetmap.josm.data.osm.history with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Map<PrimitiveId,java.util.ArrayList<HistoryOsmPrimitive>>
HistoryDataSet. data
the history dataMethods in org.openstreetmap.josm.data.osm.history that return PrimitiveId Modifier and Type Method Description PrimitiveId
History. getPrimitiveId()
Replies the primitive id for this history.PrimitiveId
HistoryOsmPrimitive. getPrimitiveId()
Returns the primitive id.Methods in org.openstreetmap.josm.data.osm.history with parameters of type PrimitiveId Modifier and Type Method Description protected void
HistoryDataSet. fireHistoryUpdated(PrimitiveId id)
History
HistoryDataSet. getHistory(PrimitiveId pid)
Replies the history for a primitive with idid
.void
HistoryDataSetListener. historyUpdated(HistoryDataSet source, PrimitiveId id)
Fired by aHistoryDataSet
if the cached history of an OSM primitive with idid
is updated -
Uses of PrimitiveId in org.openstreetmap.josm.data.vector
Classes in org.openstreetmap.josm.data.vector that implement PrimitiveId Modifier and Type Class Description class
VectorNode
The "Node" type of a vector layerclass
VectorPrimitive
The base class for Vector primitivesclass
VectorRelation
The "Relation" type for vectorsclass
VectorRelationMember
Relation members for a Vector Relationclass
VectorWay
The "Way" type for a Vector layerFields in org.openstreetmap.josm.data.vector with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Set<PrimitiveId>
VectorDataSet. currentSelectedPrimitives
The current selected primitives.private java.util.Collection<PrimitiveId>
VectorDataSet. highlighted
protected java.util.Map<PrimitiveId,O>
DataStore. primitivesMap
Methods in org.openstreetmap.josm.data.vector that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.Collection<PrimitiveId>
VectorDataSet. getHighlighted()
Get the highlighted objectsjava.util.Map<PrimitiveId,O>
DataStore. getPrimitivesMap()
Get the primitives map.Methods in org.openstreetmap.josm.data.vector with parameters of type PrimitiveId Modifier and Type Method Description void
VectorDataSet. addSelected(PrimitiveId... osm)
void
VectorDataSet. clearSelection(PrimitiveId... osm)
VectorPrimitive
VectorDataSet. getPrimitiveById(PrimitiveId primitiveId)
Get a primitive for an idjava.util.stream.Stream<VectorPrimitive>
VectorDataSet. getPrimitivesById(PrimitiveId... primitiveIds)
Get all primitives for idsvoid
VectorDataSet. setSelected(PrimitiveId... osm)
void
VectorDataSet. toggleSelected(PrimitiveId... osm)
Method parameters in org.openstreetmap.josm.data.vector with type arguments of type PrimitiveId Modifier and Type Method Description void
VectorDataSet. addSelected(java.util.Collection<? extends PrimitiveId> selection)
private void
VectorDataSet. addSelectedImpl(java.util.stream.Stream<? extends PrimitiveId> osm)
void
VectorDataSet. clearSelection(java.util.Collection<? extends PrimitiveId> list)
private void
VectorDataSet. clearSelectionImpl(java.util.stream.Stream<? extends PrimitiveId> osm)
void
VectorDataSet. setHighlighted(java.util.Collection<PrimitiveId> primitives)
Mark some primitives as highlighted.void
VectorDataSet. setSelected(java.util.Collection<? extends PrimitiveId> selection)
private void
VectorDataSet. setSelectedImpl(java.util.stream.Stream<? extends PrimitiveId> osm)
void
VectorDataSet. toggleSelected(java.util.Collection<? extends PrimitiveId> osm)
private void
VectorDataSet. toggleSelectedImpl(java.util.stream.Stream<? extends PrimitiveId> osm)
-
Uses of PrimitiveId in org.openstreetmap.josm.gui.conflict.pair
Classes in org.openstreetmap.josm.gui.conflict.pair with type parameters of type PrimitiveId Modifier and Type Class Description class
AbstractListMergeModel<T extends PrimitiveId,C extends ConflictResolveCommand>
ListMergeModel is a model for interactively comparing and merging two list of entries of type T.class
AbstractListMerger<T extends PrimitiveId,C extends ConflictResolveCommand>
A UI component for resolving conflicts in two lists of entries of type T.Fields in org.openstreetmap.josm.gui.conflict.pair with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Map<PrimitiveId,PrimitiveId>
AbstractListMergeModel. mergedMap
private java.util.Map<PrimitiveId,PrimitiveId>
AbstractListMergeModel. mergedMap
private AbstractListMergeModel<? extends PrimitiveId,? extends ConflictResolveCommand>
PairTable. model
Methods in org.openstreetmap.josm.gui.conflict.pair with parameters of type PrimitiveId Modifier and Type Method Description OsmPrimitive
AbstractListMergeModel. getMyPrimitiveById(PrimitiveId entry)
Method parameters in org.openstreetmap.josm.gui.conflict.pair with type arguments of type PrimitiveId Modifier and Type Method Description protected void
AbstractListMergeModel. alertCopyFailedForDeletedPrimitives(java.util.List<PrimitiveId> deletedIds)
protected void
AbstractListMergeModel. initPopulate(OsmPrimitive my, OsmPrimitive their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
protected void
AbstractListMergeModel. initPopulate(OsmPrimitive my, OsmPrimitive their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
Constructor parameters in org.openstreetmap.josm.gui.conflict.pair with type arguments of type PrimitiveId Constructor Description PairTable(java.lang.String name, AbstractListMergeModel<? extends PrimitiveId,? extends ConflictResolveCommand> model, OsmPrimitivesTableModel dm, javax.swing.table.TableColumnModel cm, javax.swing.ListSelectionModel sm)
Constructs a newPairTable
. -
Uses of PrimitiveId in org.openstreetmap.josm.gui.conflict.pair.nodes
Method parameters in org.openstreetmap.josm.gui.conflict.pair.nodes with type arguments of type PrimitiveId Modifier and Type Method 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)
-
Uses of PrimitiveId in org.openstreetmap.josm.gui.conflict.pair.relation
Method parameters in org.openstreetmap.josm.gui.conflict.pair.relation with type arguments of type PrimitiveId Modifier and Type Method 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 theirvoid
RelationMemberListMergeModel. populate(Relation my, Relation their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
populates the model with the relation members in relation my and their -
Uses of PrimitiveId in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.List<PrimitiveId>
OsmIdSelectionDialog. getOsmIds()
Gets the requested OSM object IDs. -
Uses of PrimitiveId in org.openstreetmap.josm.gui.dialogs.relation
Classes in org.openstreetmap.josm.gui.dialogs.relation with type parameters of type PrimitiveId Modifier and Type Class Description private static class
MemberTransferHandler.AbstractRelationMemberConverter<T extends PrimitiveId>
Methods in org.openstreetmap.josm.gui.dialogs.relation with type parameters of type PrimitiveId Modifier and Type Method Description protected <T extends PrimitiveId>
voidMemberTransferHandler. importData(MemberTable destination, int insertRow, java.util.Collection<T> memberData, MemberTransferHandler.AbstractRelationMemberConverter<T> toMemberFunction)
-
Uses of PrimitiveId in org.openstreetmap.josm.gui.history
Fields in org.openstreetmap.josm.gui.history declared as PrimitiveId Modifier and Type Field Description private PrimitiveId
HistoryViewerPanel.ZoomToObjectAction. primitiveId
private PrimitiveId
ShowHistoryAction. primitiveId
private PrimitiveId
VersionInfoPanel. primitiveId
Fields in org.openstreetmap.josm.gui.history with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Set<PrimitiveId>
HistoryLoadTask. missingPrimitives
private java.util.function.Function<java.awt.event.MouseEvent,PrimitiveId>
ShowHistoryAction.DoubleClickAdapter. primitiveIdFunction
private java.util.Set<PrimitiveId>
HistoryLoadTask. toLoad
Methods in org.openstreetmap.josm.gui.history that return PrimitiveId Modifier and Type Method Description private static PrimitiveId
NodeListViewer. primitiveIdAtRow(DiffTableModel model, int row)
private static PrimitiveId
RelationMemberListViewer. primitiveIdAtRow(DiffTableModel model, int row)
Methods in org.openstreetmap.josm.gui.history that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.Set<PrimitiveId>
HistoryLoadTask. 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)Methods in org.openstreetmap.josm.gui.history with parameters of type PrimitiveId Modifier and Type Method Description HistoryLoadTask
HistoryLoadTask. add(PrimitiveId pid)
Adds an object whose history is to be loaded.protected static java.lang.String
HistoryLoadTask. getLoadingMessage(PrimitiveId pid)
void
HistoryBrowserDialog. historyUpdated(HistoryDataSet source, PrimitiveId primitiveId)
private static boolean
HistoryBrowserDialogManager. isUnloaded(PrimitiveId p)
private void
HistoryLoadTask. loadHistory(PrimitiveId pid)
(package private) void
HistoryViewerPanel.ListPopupMenu. prepare(PrimitiveId pid)
void
HistoryViewerPanel.ZoomToObjectAction. setPrimitiveId(PrimitiveId pid)
void
ShowHistoryAction. setPrimitiveId(PrimitiveId pid)
(package private) javax.swing.Action
OpenChangesetPopupMenu.ChangesetViewerEntry. toAction(long changesetId, PrimitiveId primitiveId)
void
VersionInfoPanel. update(Changeset cs, boolean isLatest, java.time.Instant timestamp, long version, PrimitiveId id)
Updates the content of this panel based on the changeset information given bycs
.Method parameters in org.openstreetmap.josm.gui.history with type arguments of type PrimitiveId Modifier and Type Method Description HistoryLoadTask
HistoryLoadTask. addPrimitiveIds(java.util.Collection<? extends PrimitiveId> primitives)
Adds a collection of objects to loaded, specified by a collection of OSM primitives.default void
HistoryHook. modifyRequestedIds(java.util.List<PrimitiveId> ids)
Modify the requested primitive ids before history request.void
HistoryBrowserDialogManager. showHistory(java.awt.Component parent, java.util.Collection<? extends PrimitiveId> primitives)
Show history dialog(s) for the given primitive(s).void
HistoryBrowserDialogManager. showHistory(java.util.Collection<? extends PrimitiveId> primitives)
Show history dialog(s) for the given primitive(s).Constructors in org.openstreetmap.josm.gui.history with parameters of type PrimitiveId Constructor Description OpenChangesetPopupMenu(long changesetId, PrimitiveId primitiveId)
Constructs a newOpenChangesetPopupMenu
for the given changeset id.Constructor parameters in org.openstreetmap.josm.gui.history with type arguments of type PrimitiveId Constructor Description DoubleClickAdapter(java.util.function.Function<java.awt.event.MouseEvent,PrimitiveId> primitiveIdFunction)
-
Uses of PrimitiveId in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.List<PrimitiveId>
DownloadPrimitivesTask. ids
private java.util.List<PrimitiveId>
DownloadPrimitivesWithReferrersTask. ids
List of primitives id to downloadprivate java.util.Set<PrimitiveId>
AbstractPrimitiveTask. missingPrimitives
private java.util.Set<PrimitiveId>
DownloadPrimitivesWithReferrersTask. missingPrimitives
set of missing ids, with overpass API these are also deleted objectsMethods in org.openstreetmap.josm.gui.io that return types with arguments of type PrimitiveId Modifier and Type Method Description java.util.List<PrimitiveId>
DownloadPrimitivesWithReferrersTask. getDownloadedId()
Return ids of really downloaded primitives.java.util.Set<PrimitiveId>
AbstractPrimitiveTask. 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)Method parameters in org.openstreetmap.josm.gui.io with type arguments of type PrimitiveId Modifier and Type Method Description 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 parameters in org.openstreetmap.josm.gui.io with type arguments of type PrimitiveId Constructor Description DownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation)
Constructs a newDownloadPrimitivesTask
.DownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation, ProgressMonitor progressMonitor)
Constructs a newDownloadPrimitivesTask
.DownloadPrimitivesWithReferrersTask(boolean newLayer, java.util.List<PrimitiveId> ids, boolean downloadReferrers, boolean full, java.lang.String newLayerName, ProgressMonitor monitor)
Constructor -
Uses of PrimitiveId in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type PrimitiveId Modifier and Type Method Description static java.lang.String
Functions. convert_primitive_to_string(PrimitiveId primitive)
Convert a primitive to a stringMethod parameters in org.openstreetmap.josm.gui.mappaint.mapcss with type arguments of type PrimitiveId Modifier and Type Method Description static java.util.List<java.lang.String>
Functions. convert_primitives_to_string(java.lang.Iterable<PrimitiveId> primitives)
Convert Primitives to a string -
Uses of PrimitiveId in org.openstreetmap.josm.gui.widgets
Fields in org.openstreetmap.josm.gui.widgets with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.List<PrimitiveId>
OsmIdTextField.OsmIdValidator. ids
Methods in org.openstreetmap.josm.gui.widgets that return types with arguments of type PrimitiveId Modifier and Type Method 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" -
Uses of PrimitiveId in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as PrimitiveId Modifier and Type Field Description private PrimitiveId
OsmServerObjectReader. id
the id of the object to downloadprivate PrimitiveId
NameFinder.SearchResult. osmId
Fields in org.openstreetmap.josm.io with type parameters of type PrimitiveId Modifier and Type Field 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 serverprotected java.util.Map<PrimitiveId,OsmPrimitive>
AbstractReader. externalIdMap
the map from external ids to read OsmPrimitives.java.util.Set<PrimitiveId>
MultiFetchServerObjectReader.FetchResult. missingPrimitives
The collection of primitive ids that could not have been loadedprivate java.util.Set<PrimitiveId>
MultiFetchServerObjectReader. missingPrimitives
Methods in org.openstreetmap.josm.io that return PrimitiveId Modifier and Type Method Description PrimitiveId
NameFinder.SearchResult. getOsmId()
Returns the OSM id.Methods in org.openstreetmap.josm.io that return types with arguments of type PrimitiveId Modifier and Type Method Description (package private) java.util.Map<PrimitiveId,DiffResultProcessor.DiffResultEntry>
DiffResultProcessor. getDiffResults()
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)Methods in org.openstreetmap.josm.io with parameters of type PrimitiveId Modifier and Type Method Description void
MultiFetchServerObjectReader. append(PrimitiveId id)
Remembers anOsmPrimitive
's id.Method parameters in org.openstreetmap.josm.io with type arguments of type PrimitiveId Modifier and Type Method Description static java.lang.String
MultiFetchOverpassObjectReader. genOverpassQuery(java.util.Collection<? extends PrimitiveId> ids, boolean includeObjects, boolean recurseUp, boolean recurseDownRelations)
Generate single overpass query to retrieve multiple primitives.Constructors in org.openstreetmap.josm.io with parameters of type PrimitiveId Constructor Description OsmServerObjectReader(PrimitiveId id, boolean full)
Creates a new server object reader for an object with the givenid
OsmServerObjectReader(PrimitiveId id, boolean full, int version)
OsmServerObjectReader(PrimitiveId id, int version)
Creates a new server object reader for an object with the givenid
Constructor parameters in org.openstreetmap.josm.io with type arguments of type PrimitiveId Constructor Description FetchResult(DataSet dataSet, java.util.Set<PrimitiveId> missingPrimitives)
Constructs aFetchResult
-
Uses of PrimitiveId in org.openstreetmap.josm.io.remotecontrol.handler
Fields in org.openstreetmap.josm.io.remotecontrol.handler with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.List<PrimitiveId>
LoadObjectHandler. ps
-