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 editionconflictsbetweenOsmPrimitivesorg.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives:Node,Way,RelationUsersTagsChangesetsUtilities 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 voidUpdateSelectionAction. updatePrimitive(PrimitiveId id)Updates the data for theOsmPrimitives with ididwith 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 voidDownloadPrimitiveAction. 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. childrenthe collection of child primitivesMethods in org.openstreetmap.josm.actions.downloadtasks with parameters of type PrimitiveId Modifier and Type Method Description voidDownloadOsmChangeTask.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. makeIncompleteDataByPrimIdprivate java.util.List<? extends PrimitiveId>SplitWayCommand. newSelectionMethods 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. mergedMapprivate java.util.Map<PrimitiveId,PrimitiveId>Conflict. mergedMapMethods 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 booleanConflict. isParticipating(PrimitiveId id)Replies true if the primitive with ididis participating in this conflictMethod parameters in org.openstreetmap.josm.data.conflict with type arguments of type PrimitiveId Modifier and Type Method Description voidConflict. setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap)voidConflict. 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 interfaceINodeinterfaceIPrimitiveIPrimitive captures the common functions ofOsmPrimitiveandPrimitiveData.interfaceIRelation<M extends IRelationMember<? extends IPrimitive>>IRelation captures the common functions ofRelationandRelationData.interfaceIRelationMember<P extends IPrimitive>IRelationMember captures the common functions ofRelationMemberandRelationMemberData.interfaceIWay<N extends INode>Classes in org.openstreetmap.josm.data.osm that implement PrimitiveId Modifier and Type Class Description classAbstractPrimitiveAbstract class to represent common features of the datatypes primitives.classNodeOne node data, consisting of one world coordinate waypoint.classNodeDataThe data on a single node (tags and position) that is stored in the databaseclassOsmPrimitiveclassPrimitiveDataThis class can be used to save properties of OsmPrimitive.classRelationA relation, having a set of tags and any number (0...n) of members.classRelationDataRelation data.classRelationMemberA linkage class that can be used by an relation to keep a list of members.classRelationMemberDataThis is the data (role, type and id) that is stored in the database for a given relation member.classSimplePrimitiveIdA primitive id and a primitive typeclassWayOne full way, consisting of a list of waynodes.classWayDataThe 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. entryMapmaps an id to either oneChangesetDataSet.ChangesetDataSetEntryor an array ofChangesetDataSet.ChangesetDataSetEntryprivate java.util.Map<PrimitiveId,PrimitiveId>DataSetMerger. mergedMapA map of all primitives that got replaced with other primitives.private java.util.Map<PrimitiveId,PrimitiveId>DataSetMerger. mergedMapA map of all primitives that got replaced with other primitives.private java.util.Set<PrimitiveId>DataSetMerger. objectsWithChildrenToMergea 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. primitivesMapprivate java.util.Iterator<java.util.Map.Entry<PrimitiveId,java.lang.Object>>ChangesetDataSet.DefaultIterator. typeIteratorMethods in org.openstreetmap.josm.data.osm that return PrimitiveId Modifier and Type Method Description default PrimitiveIdIPrimitive. getOsmPrimitiveId()Replies the OSM primitive id for this primitive.default PrimitiveIdIPrimitive. 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 voidDataSet. addSelected(PrimitiveId... osm)voidOsmData. addSelected(PrimitiveId... osm)Adds the primitives inosmto the current selection and notifies allDataSelectionListener.voidDataSet. clearSelection(PrimitiveId... osm)voidOsmData. clearSelection(PrimitiveId... osm)Removes the selection from every value in the collection.booleanChangesetDataSet. contains(PrimitiveId id)Replies true if the changeset content contains the object with primitiveid.booleanStorage.PrimitiveIdHash. equals(PrimitiveId key, PrimitiveId value)private ChangesetDataSet.ChangesetDataSetEntryChangesetDataSet. getEntry(PrimitiveId id, int n)ChangesetDataSet.ChangesetDataSetEntryChangesetDataSet. getFirstEntry(PrimitiveId id)Replies the firstChangesetDataSet.ChangesetDataSetEntrywith ididfrom this dataset.intStorage.PrimitiveIdHash. getHashCode(PrimitiveId k)ChangesetDataSet.ChangesetDataSetEntryChangesetDataSet. getLastEntry(PrimitiveId id)Replies the lastChangesetDataSet.ChangesetDataSetEntrywith ididfrom this dataset.ChangesetDataSet.ChangesetModificationTypeChangesetDataSet. getModificationType(PrimitiveId id)Replies the last modification type for the object with idid.HistoryOsmPrimitiveChangesetDataSet. getPrimitive(PrimitiveId id)Replies theHistoryOsmPrimitivewith ididfrom this dataset.OsmPrimitiveDataSet. getPrimitiveById(PrimitiveId primitiveId)OOsmData. getPrimitiveById(PrimitiveId primitiveId)Returns a primitive with a given id from the data set.private OsmPrimitiveDataSet. getPrimitiveByIdChecked(PrimitiveId primitiveId)Show message and stack trace in log in case primitive is not foundbooleanChangesetDataSet. isCreated(PrimitiveId id)Replies true if the primitive with ididwas created in this changeset.booleanChangesetDataSet. isDeleted(PrimitiveId id)Replies true if the primitive with ididwas deleted in this changeset.booleanChangesetDataSet. isUpdated(PrimitiveId id)Replies true if the primitive with ididwas updated in this changeset.voidDataSet. removePrimitive(PrimitiveId primitiveId)Removes a primitive from the dataset.voidDataSet. removePrimitives(PrimitiveId... primitiveIds)Removes primitives from the dataset.voidDataSet. setSelected(PrimitiveId... osm)voidOsmData. setSelected(PrimitiveId... osm)Sets the current selection to the primitives inosmand notifies allDataSelectionListener.voidDataSet. toggleSelected(PrimitiveId... osm)voidOsmData. toggleSelected(PrimitiveId... osm)Toggles the selected state of the given collection of primitives.static java.lang.StringSimplePrimitiveId. 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 voidDataSet. addSelected(java.util.Collection<? extends PrimitiveId> selection)private voidDataSet. addSelected(java.util.stream.Stream<? extends PrimitiveId> stream)voidOsmData. addSelected(java.util.Collection<? extends PrimitiveId> selection)Adds the primitives inselectionto the current selection and notifies allDataSelectionListener.protected voidNode. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)protected abstract voidOsmPrimitive. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)If necessary, extend the bbox to contain this primitiveprotected voidRelation. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)protected voidWay. addToBBox(BBox box, java.util.Set<PrimitiveId> visited)voidDataSet. clearSelection(java.util.Collection<? extends PrimitiveId> list)private voidDataSet. clearSelection(java.util.stream.Stream<? extends PrimitiveId> stream)voidOsmData. clearSelection(java.util.Collection<? extends PrimitiveId> list)Removes the selection from every value in the collection.voidDataSet. removePrimitives(java.util.Collection<PrimitiveId> primitiveIds)Removes primitives from the dataset.voidDataSet. setSelected(java.util.Collection<? extends PrimitiveId> selection)private voidDataSet. setSelected(java.util.stream.Stream<? extends PrimitiveId> stream)voidOsmData. setSelected(java.util.Collection<? extends PrimitiveId> selection)Sets the current selection to the primitives inselectionand notifies allDataSelectionListener.voidDataSet. toggleSelected(java.util.Collection<? extends PrimitiveId> osm)private voidDataSet. toggleSelected(java.util.stream.Stream<? extends PrimitiveId> stream)voidOsmData. 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 classHistoryNodeRepresents an immutable OSM node in the context of a historical view on OSM data.classHistoryOsmPrimitiveRepresents an immutable OSM primitive in the context of a historical view on OSM data.classHistoryRelationRepresents an immutable OSM relation in the context of a historical view on OSM data.classHistoryWayRepresents 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. datathe history dataMethods in org.openstreetmap.josm.data.osm.history that return PrimitiveId Modifier and Type Method Description PrimitiveIdHistory. getPrimitiveId()Replies the primitive id for this history.PrimitiveIdHistoryOsmPrimitive. getPrimitiveId()Returns the primitive id.Methods in org.openstreetmap.josm.data.osm.history with parameters of type PrimitiveId Modifier and Type Method Description protected voidHistoryDataSet. fireHistoryUpdated(PrimitiveId id)HistoryHistoryDataSet. getHistory(PrimitiveId pid)Replies the history for a primitive with idid.voidHistoryDataSetListener. historyUpdated(HistoryDataSet source, PrimitiveId id)Fired by aHistoryDataSetif the cached history of an OSM primitive with ididis 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 classVectorNodeThe "Node" type of a vector layerclassVectorPrimitiveThe base class for Vector primitivesclassVectorRelationThe "Relation" type for vectorsclassVectorRelationMemberRelation members for a Vector RelationclassVectorWayThe "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. currentSelectedPrimitivesThe current selected primitives.private java.util.Collection<PrimitiveId>VectorDataSet. highlightedprotected java.util.Map<PrimitiveId,O>DataStore. primitivesMapMethods 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 voidVectorDataSet. addSelected(PrimitiveId... osm)voidVectorDataSet. clearSelection(PrimitiveId... osm)VectorPrimitiveVectorDataSet. getPrimitiveById(PrimitiveId primitiveId)Get a primitive for an idjava.util.stream.Stream<VectorPrimitive>VectorDataSet. getPrimitivesById(PrimitiveId... primitiveIds)Get all primitives for idsvoidVectorDataSet. setSelected(PrimitiveId... osm)voidVectorDataSet. toggleSelected(PrimitiveId... osm)Method parameters in org.openstreetmap.josm.data.vector with type arguments of type PrimitiveId Modifier and Type Method Description voidVectorDataSet. addSelected(java.util.Collection<? extends PrimitiveId> selection)private voidVectorDataSet. addSelectedImpl(java.util.stream.Stream<? extends PrimitiveId> osm)voidVectorDataSet. clearSelection(java.util.Collection<? extends PrimitiveId> list)private voidVectorDataSet. clearSelectionImpl(java.util.stream.Stream<? extends PrimitiveId> osm)voidVectorDataSet. setHighlighted(java.util.Collection<PrimitiveId> primitives)Mark some primitives as highlighted.voidVectorDataSet. setSelected(java.util.Collection<? extends PrimitiveId> selection)private voidVectorDataSet. setSelectedImpl(java.util.stream.Stream<? extends PrimitiveId> osm)voidVectorDataSet. toggleSelected(java.util.Collection<? extends PrimitiveId> osm)private voidVectorDataSet. 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 classAbstractListMergeModel<T extends PrimitiveId,C extends ConflictResolveCommand>ListMergeModel is a model for interactively comparing and merging two list of entries of type T.classAbstractListMerger<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. mergedMapprivate java.util.Map<PrimitiveId,PrimitiveId>AbstractListMergeModel. mergedMapprivate AbstractListMergeModel<? extends PrimitiveId,? extends ConflictResolveCommand>PairTable. modelMethods in org.openstreetmap.josm.gui.conflict.pair with parameters of type PrimitiveId Modifier and Type Method Description OsmPrimitiveAbstractListMergeModel. getMyPrimitiveById(PrimitiveId entry)Method parameters in org.openstreetmap.josm.gui.conflict.pair with type arguments of type PrimitiveId Modifier and Type Method Description protected voidAbstractListMergeModel. alertCopyFailedForDeletedPrimitives(java.util.List<PrimitiveId> deletedIds)protected voidAbstractListMergeModel. initPopulate(OsmPrimitive my, OsmPrimitive their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)protected voidAbstractListMergeModel. 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 voidNodeListMergeModel. populate(Way my, Way their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)voidNodeListMergeModel. 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 voidRelationMemberListMergeModel. populate(Relation my, Relation their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)populates the model with the relation members in relation my and theirvoidRelationMemberListMergeModel. 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 classMemberTransferHandler.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 PrimitiveIdHistoryViewerPanel.ZoomToObjectAction. primitiveIdprivate PrimitiveIdShowHistoryAction. primitiveIdprivate PrimitiveIdVersionInfoPanel. primitiveIdFields in org.openstreetmap.josm.gui.history with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Set<PrimitiveId>HistoryLoadTask. missingPrimitivesprivate java.util.function.Function<java.awt.event.MouseEvent,PrimitiveId>ShowHistoryAction.DoubleClickAdapter. primitiveIdFunctionprivate java.util.Set<PrimitiveId>HistoryLoadTask. toLoadMethods in org.openstreetmap.josm.gui.history that return PrimitiveId Modifier and Type Method Description private static PrimitiveIdNodeListViewer. primitiveIdAtRow(DiffTableModel model, int row)private static PrimitiveIdRelationMemberListViewer. 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 HistoryLoadTaskHistoryLoadTask. add(PrimitiveId pid)Adds an object whose history is to be loaded.protected static java.lang.StringHistoryLoadTask. getLoadingMessage(PrimitiveId pid)voidHistoryBrowserDialog. historyUpdated(HistoryDataSet source, PrimitiveId primitiveId)private static booleanHistoryBrowserDialogManager. isUnloaded(PrimitiveId p)private voidHistoryLoadTask. loadHistory(PrimitiveId pid)(package private) voidHistoryViewerPanel.ListPopupMenu. prepare(PrimitiveId pid)voidHistoryViewerPanel.ZoomToObjectAction. setPrimitiveId(PrimitiveId pid)voidShowHistoryAction. setPrimitiveId(PrimitiveId pid)(package private) javax.swing.ActionOpenChangesetPopupMenu.ChangesetViewerEntry. toAction(long changesetId, PrimitiveId primitiveId)voidVersionInfoPanel. 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 HistoryLoadTaskHistoryLoadTask. addPrimitiveIds(java.util.Collection<? extends PrimitiveId> primitives)Adds a collection of objects to loaded, specified by a collection of OSM primitives.default voidHistoryHook. modifyRequestedIds(java.util.List<PrimitiveId> ids)Modify the requested primitive ids before history request.voidHistoryBrowserDialogManager. showHistory(java.awt.Component parent, java.util.Collection<? extends PrimitiveId> primitives)Show history dialog(s) for the given primitive(s).voidHistoryBrowserDialogManager. 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 newOpenChangesetPopupMenufor 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. idsprivate java.util.List<PrimitiveId>DownloadPrimitivesWithReferrersTask. idsList of primitives id to downloadprivate java.util.Set<PrimitiveId>AbstractPrimitiveTask. missingPrimitivesprivate java.util.Set<PrimitiveId>DownloadPrimitivesWithReferrersTask. missingPrimitivesset 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 ExtendedDialogDownloadPrimitivesWithReferrersTask. 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.StringFunctions. 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. idsMethods 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 PrimitiveIdOsmServerObjectReader. idthe id of the object to downloadprivate PrimitiveIdNameFinder.SearchResult. osmIdFields in org.openstreetmap.josm.io with type parameters of type PrimitiveId Modifier and Type Field Description private java.util.Map<PrimitiveId,DiffResultProcessor.DiffResultEntry>DiffResultProcessor. diffResultsmapping 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. externalIdMapthe map from external ids to read OsmPrimitives.java.util.Set<PrimitiveId>MultiFetchServerObjectReader.FetchResult. missingPrimitivesThe collection of primitive ids that could not have been loadedprivate java.util.Set<PrimitiveId>MultiFetchServerObjectReader. missingPrimitivesMethods in org.openstreetmap.josm.io that return PrimitiveId Modifier and Type Method Description PrimitiveIdNameFinder.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 voidMultiFetchServerObjectReader. 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.StringMultiFetchOverpassObjectReader. 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 givenidOsmServerObjectReader(PrimitiveId id, boolean full, int version)OsmServerObjectReader(PrimitiveId id, int version)Creates a new server object reader for an object with the givenidConstructor 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
-