Uses of Class
org.openstreetmap.josm.data.osm.OsmPrimitiveType
-
Packages that use OsmPrimitiveType 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.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.osm.search Provides classes allowing to search OSM primitives in a dataset using textual queries.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.org.openstreetmap.josm.data.vector org.openstreetmap.josm.gui.conflict.tags Provides the classes for resolving conflicts between OSM tags.org.openstreetmap.josm.gui.datatransfer.data Provides the classes for defining the serializable data transferred using cut/copy/paste operations.org.openstreetmap.josm.gui.datatransfer.importers Provides the classes for the transfer support controllers allowing cut/copy/paste operations.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.tagging.presets Provides classes for handling tagging presets.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.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions with parameters of type OsmPrimitiveType Modifier and Type Method Description static void
UpdateSelectionAction. handlePrimitiveGoneException(long id, OsmPrimitiveType type)
handle an exception thrown because a primitive was deleted on the server -
Uses of OsmPrimitiveType in org.openstreetmap.josm.actions.downloadtasks
Methods in org.openstreetmap.josm.actions.downloadtasks with parameters of type OsmPrimitiveType Modifier and Type Method Description protected void
DownloadReferrersTask. downloadParents(long id, OsmPrimitiveType type, ProgressMonitor progressMonitor)
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.command
Methods in org.openstreetmap.josm.command that return types with arguments of type OsmPrimitiveType Modifier and Type Method Description private Set<OsmPrimitiveType>
DeleteCommand. getTypesToDelete()
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm declared as OsmPrimitiveType Modifier and Type Field Description private OsmPrimitiveType
RelationMemberData. memberType
private OsmPrimitiveType
SimplePrimitiveId. type
Fields in org.openstreetmap.josm.data.osm with type parameters of type OsmPrimitiveType Modifier and Type Field Description private static Collection<OsmPrimitiveType>
OsmPrimitiveType. DATA_VALUES
Methods in org.openstreetmap.josm.data.osm that return OsmPrimitiveType Modifier and Type Method Description static OsmPrimitiveType
OsmPrimitiveType. from(String value)
Returns enum value from API type name / JOSM display name, case insensitive.static OsmPrimitiveType
OsmPrimitiveType. from(IPrimitive obj)
Determines the OSM primitive type of the given object.static OsmPrimitiveType
OsmPrimitiveType. fromApiTypeName(String typeName)
Returns enum value from API type name / JOSM display name, case sensitive.default OsmPrimitiveType
IPrimitive. getDisplayType()
Gets the type this primitive is displayed atdefault OsmPrimitiveType
IRelationMember. getDisplayType()
Returns type of member for icon display.OsmPrimitiveType
Relation. getDisplayType()
OsmPrimitiveType
RelationMemberData. getDisplayType()
OsmPrimitiveType
Way. getDisplayType()
OsmPrimitiveType
IRelation. getMemberType(int idx)
Returns type of the member at given index.OsmPrimitiveType
Relation. getMemberType(int idx)
OsmPrimitiveType
RelationData. getMemberType(int idx)
OsmPrimitiveType
RelationMemberData. getMemberType()
Get member type.private static OsmPrimitiveType
SimplePrimitiveId. getOsmPrimitiveType(char firstChar)
OsmPrimitiveType
Node. getType()
OsmPrimitiveType
NodeData. getType()
OsmPrimitiveType
PrimitiveId. getType()
Gets the type of object represented by this object.OsmPrimitiveType
Relation. getType()
OsmPrimitiveType
RelationData. getType()
OsmPrimitiveType
RelationMember. getType()
PrimitiveId implementation.OsmPrimitiveType
RelationMemberData. getType()
PrimitiveId implementation.OsmPrimitiveType
SimplePrimitiveId. getType()
OsmPrimitiveType
Way. getType()
OsmPrimitiveType
WayData. getType()
static OsmPrimitiveType
OsmPrimitiveType. valueOf(String name)
Returns the enum constant of this type with the specified name.static OsmPrimitiveType[]
OsmPrimitiveType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type OsmPrimitiveType Modifier and Type Method Description static Collection<OsmPrimitiveType>
OsmPrimitiveType. dataValues()
Returns the values matching real OSM API data types (node, way, relation).Methods in org.openstreetmap.josm.data.osm with parameters of type OsmPrimitiveType Modifier and Type Method Description default O
OsmData. getPrimitiveById(long id, OsmPrimitiveType type)
Returns a primitive with a given id from the data set.Constructors in org.openstreetmap.josm.data.osm with parameters of type OsmPrimitiveType Constructor Description RelationMemberData(String role, OsmPrimitiveType type, long id)
Constructs a newRelationMemberData
.SimplePrimitiveId(long id, OsmPrimitiveType type)
Create a new primitive id -
Uses of OsmPrimitiveType in org.openstreetmap.josm.data.osm.history
Fields in org.openstreetmap.josm.data.osm.history declared as OsmPrimitiveType Modifier and Type Field Description private OsmPrimitiveType
History. type
the object typeMethods in org.openstreetmap.josm.data.osm.history that return OsmPrimitiveType Modifier and Type Method Description OsmPrimitiveType
History. getType()
Replies the primitive type for this history.OsmPrimitiveType
HistoryNode. getType()
OsmPrimitiveType
HistoryRelation. getType()
replies the type, i.e.OsmPrimitiveType
HistoryWay. getType()
replies the ways type, i.e.Methods in org.openstreetmap.josm.data.osm.history with parameters of type OsmPrimitiveType Modifier and Type Method Description HistoryOsmPrimitive
HistoryDataSet. get(long id, OsmPrimitiveType type, long version)
Replies the history primitive for the primitive with idid
and versionversion
.History
HistoryDataSet. getHistory(long id, OsmPrimitiveType type)
Replies the history for a given primitive with idid
and typetype
.Constructors in org.openstreetmap.josm.data.osm.history with parameters of type OsmPrimitiveType Constructor Description History(long id, OsmPrimitiveType type, List<HistoryOsmPrimitive> versions)
Creates a new history for an OSM primitive. -
Uses of OsmPrimitiveType in org.openstreetmap.josm.data.osm.search
Fields in org.openstreetmap.josm.data.osm.search declared as OsmPrimitiveType Modifier and Type Field Description private OsmPrimitiveType
SearchCompiler.ExactType. type
Methods in org.openstreetmap.josm.data.osm.search that return OsmPrimitiveType Modifier and Type Method Description OsmPrimitiveType
SearchCompiler.ExactType. getType()
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests declared as OsmPrimitiveType Modifier and Type Field Description private OsmPrimitiveType
DuplicateRelation.RelMember. type
Type of the relation member -
Uses of OsmPrimitiveType in org.openstreetmap.josm.data.vector
Methods in org.openstreetmap.josm.data.vector that return OsmPrimitiveType Modifier and Type Method Description OsmPrimitiveType
VectorRelation. getMemberType(int idx)
OsmPrimitiveType
VectorNode. getType()
OsmPrimitiveType
VectorRelation. getType()
OsmPrimitiveType
VectorRelationMember. getType()
OsmPrimitiveType
VectorWay. getType()
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.conflict.tags
Fields in org.openstreetmap.josm.gui.conflict.tags with type parameters of type OsmPrimitiveType Modifier and Type Field Description (package private) static Map<OsmPrimitiveType,String>
PasteTagsConflictResolverDialog. PANE_TITLES
private Map<OsmPrimitiveType,TagConflictResolver>
PasteTagsConflictResolverDialog. resolvers
(package private) Map<OsmPrimitiveType,Integer>
PasteTagsConflictResolverDialog.StatisticsInfo. sourceInfo
(package private) Map<OsmPrimitiveType,Integer>
PasteTagsConflictResolverDialog.StatisticsInfo. targetInfo
Methods in org.openstreetmap.josm.gui.conflict.tags with parameters of type OsmPrimitiveType Modifier and Type Method Description TagCollection
PasteTagsConflictResolverDialog. getResolution(OsmPrimitiveType type)
protected void
PasteTagsConflictResolverDialog. initResolver(OsmPrimitiveType type, TagCollection tc, Map<OsmPrimitiveType,Integer> targetStatistics)
Initializes the conflict resolver for a specific type of primitivesMethod parameters in org.openstreetmap.josm.gui.conflict.tags with type arguments of type OsmPrimitiveType Modifier and Type Method Description protected void
PasteTagsConflictResolverDialog. initResolver(OsmPrimitiveType type, TagCollection tc, Map<OsmPrimitiveType,Integer> targetStatistics)
Initializes the conflict resolver for a specific type of primitivesvoid
PasteTagsConflictResolverDialog. populate(TagCollection tagsForAllPrimitives, Map<OsmPrimitiveType,Integer> sourceStatistics, Map<OsmPrimitiveType,Integer> targetStatistics)
Populates the conflict resolver with one tag collectionvoid
PasteTagsConflictResolverDialog. populate(TagCollection tagsForNodes, TagCollection tagsForWays, TagCollection tagsForRelations, Map<OsmPrimitiveType,Integer> sourceStatistics, Map<OsmPrimitiveType,Integer> targetStatistics)
Populate the tag conflict resolver with tags for each type of primitivesprivate void
PasteTagsConflictResolverDialog.StatisticsInfoRenderer. renderStatistics(Map<OsmPrimitiveType,Integer> stat)
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.datatransfer.data
Fields in org.openstreetmap.josm.gui.datatransfer.data with type parameters of type OsmPrimitiveType Modifier and Type Field Description private EnumMap<OsmPrimitiveType,Integer>
PrimitiveTagTransferData. counts
private EnumMap<OsmPrimitiveType,TagCollection>
PrimitiveTagTransferData. tags
Methods in org.openstreetmap.josm.gui.datatransfer.data that return types with arguments of type OsmPrimitiveType Modifier and Type Method Description Map<OsmPrimitiveType,Integer>
PrimitiveTagTransferData. getStatistics()
Gets the statistics of the source primitive counts.Methods in org.openstreetmap.josm.gui.datatransfer.data with parameters of type OsmPrimitiveType Modifier and Type Method Description TagCollection
PrimitiveTagTransferData. getForPrimitives(OsmPrimitiveType type)
Gets the tags used for this primitive type.int
PrimitiveTagTransferData. getSourcePrimitiveCount(OsmPrimitiveType type)
Gets the number of source primitives for the given type. -
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.datatransfer.importers
Methods in org.openstreetmap.josm.gui.datatransfer.importers that return types with arguments of type OsmPrimitiveType Modifier and Type Method Description private static EnumMap<OsmPrimitiveType,Map<Long,Long>>
PrimitiveDataPaster. generateNewPrimitives(PrimitiveTransferData pasteBuffer, List<PrimitiveData> bufferCopy, List<PrimitiveData> toSelect)
protected Map<OsmPrimitiveType,Integer>
PrimitiveTagTransferPaster.TagPasteSupport. getTargetStatistics()
Methods in org.openstreetmap.josm.gui.datatransfer.importers with parameters of type OsmPrimitiveType Modifier and Type Method Description protected boolean
PrimitiveTagTransferPaster.TagPasteSupport. hasTargetPrimitives(OsmPrimitiveType type)
Replies true if there is at least one primitive of typetype
is in the target collectionMethod parameters in org.openstreetmap.josm.gui.datatransfer.importers with type arguments of type OsmPrimitiveType Modifier and Type Method Description private static void
PrimitiveDataPaster. updateMembers(EnumMap<OsmPrimitiveType,Map<Long,Long>> newIds, PrimitiveData data)
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.io
Methods in org.openstreetmap.josm.gui.io with parameters of type OsmPrimitiveType Modifier and Type Method Description protected OsmPrimitive
UploadLayerTask. getPrimitive(OsmPrimitiveType type, long id)
protected void
AbstractUploadTask. handleUploadConflictForKnownConflict(OsmPrimitiveType primitiveType, long id, String serverVersion, String myVersion)
Handles the case that a conflict in a specificOsmPrimitive
was detected while uploadingprotected void
AbstractUploadTask. synchronizePrimitive(OsmPrimitiveType type, long id)
Synchronizes the local state of anOsmPrimitive
with its state on the server. -
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type OsmPrimitiveType Modifier and Type Method Description boolean
Selector.GeneralSelector. matchesBase(OsmPrimitiveType type)
-
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.tagging.presets
Methods in org.openstreetmap.josm.gui.tagging.presets with parameters of type OsmPrimitiveType Modifier and Type Method Description static TaggingPresetType
TaggingPresetType. forPrimitiveType(OsmPrimitiveType type)
Determines theTaggingPresetType
of a given primitive type. -
Uses of OsmPrimitiveType in org.openstreetmap.josm.gui.widgets
Fields in org.openstreetmap.josm.gui.widgets declared as OsmPrimitiveType Modifier and Type Field Description private OsmPrimitiveType
OsmIdTextField.OsmIdValidator. type
Methods in org.openstreetmap.josm.gui.widgets that return OsmPrimitiveType Modifier and Type Method Description OsmPrimitiveType
OsmPrimitiveTypesComboBox. getType()
Replies the currently selectedOsmPrimitiveType
.Methods in org.openstreetmap.josm.gui.widgets with parameters of type OsmPrimitiveType Modifier and Type Method Description void
OsmIdTextField. setType(OsmPrimitiveType type)
Sets the type of primitive object -
Uses of OsmPrimitiveType in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as OsmPrimitiveType Modifier and Type Field Description private OsmPrimitiveType
OsmServerBackreferenceReader. primitiveType
the type of the primitiveprivate OsmPrimitiveType
OsmServerHistoryReader. primitiveType
private OsmPrimitiveType
MultiFetchServerObjectReader.Fetcher. type
private OsmPrimitiveType
OsmApiPrimitiveGoneException. type
the type of the primitive which is gone on the serverFields in org.openstreetmap.josm.io with type parameters of type OsmPrimitiveType Modifier and Type Field Description protected Map<OsmPrimitiveType,Set<Long>>
MultiFetchServerObjectReader. primitivesMap
private static List<OsmPrimitiveType>
MultiFetchOverpassObjectReader. wantedOrder
Methods in org.openstreetmap.josm.io that return OsmPrimitiveType Modifier and Type Method Description OsmPrimitiveType
OsmApiPrimitiveGoneException. getPrimitiveType()
Replies the type of the primitive this exception was thrown for.Methods in org.openstreetmap.josm.io with parameters of type OsmPrimitiveType Modifier and Type Method Description MultiFetchServerObjectReader
MultiFetchServerObjectReader. append(DataSet ds, long id, OsmPrimitiveType type)
appends aOsmPrimitive
id to the list of ids which will be fetched from the server.protected String
MultiFetchServerObjectReader. buildRequestString(OsmPrimitiveType type, Set<Long> idPackage)
builds the Multi Get request string for a set of ids and a givenOsmPrimitiveType
.protected HistoryOsmPrimitive
AbstractParser. createPrimitive(Attributes atts, OsmPrimitiveType type)
protected void
MultiFetchServerObjectReader. fetchPrimitives(Set<Long> ids, OsmPrimitiveType type, ProgressMonitor progressMonitor)
fetches a set of ids of a givenOsmPrimitiveType
from the serverprivate static String
MultiFetchOverpassObjectReader. getPackageString(OsmPrimitiveType type, Set<Long> idPackage)
protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. multiGetIdPackage(OsmPrimitiveType type, Set<Long> pkg, ProgressMonitor progressMonitor)
invokes a Multi Get for a set of ids and a givenOsmPrimitiveType
.protected DataSet
MultiFetchServerObjectReader.Fetcher. singleGetId(OsmPrimitiveType type, long id, ProgressMonitor progressMonitor)
invokes a Multi Get for a single id and a givenOsmPrimitiveType
.protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. singleGetIdPackage(OsmPrimitiveType type, Set<Long> pkg, ProgressMonitor progressMonitor)
invokes a sequence of Multi Gets for individual ids in a set of ids and a givenOsmPrimitiveType
.Method parameters in org.openstreetmap.josm.io with type arguments of type OsmPrimitiveType Modifier and Type Method Description protected static String
MultiFetchOverpassObjectReader. genOverpassQuery(Map<OsmPrimitiveType,Set<Long>> primitivesMap, boolean includeObjects, boolean recurseUp, boolean recurseDownRelations)
Generate single overpass query to retrieve multiple primitives.Constructors in org.openstreetmap.josm.io with parameters of type OsmPrimitiveType Constructor Description Fetcher(OsmPrimitiveType type, Set<Long> idsPackage, ProgressMonitor progressMonitor)
Constructs aFetcher
OsmServerBackreferenceReader(long id, OsmPrimitiveType type)
constructorOsmServerBackreferenceReader(long id, OsmPrimitiveType type, boolean readFull)
Creates a back reference reader for given primitive idOsmServerHistoryReader(OsmPrimitiveType type, long id)
constructorOsmServerObjectReader(long id, OsmPrimitiveType type, boolean full)
Creates a new server object reader for a given id and a primitive type.OsmServerObjectReader(long id, OsmPrimitiveType type, boolean full, int version)
OsmServerObjectReader(long id, OsmPrimitiveType type, int version)
Creates a new server object reader for a given id and a primitive type. -
Uses of OsmPrimitiveType in org.openstreetmap.josm.tools
Fields in org.openstreetmap.josm.tools with type parameters of type OsmPrimitiveType Modifier and Type Field Description private static Map<OsmPrimitiveType,ImageIcon>
ImageProvider. osmPrimitiveTypeCache
small cache of critical images used in many parts of the applicationMethods in org.openstreetmap.josm.tools with parameters of type OsmPrimitiveType Modifier and Type Method Description static ImageIcon
ImageProvider. get(OsmPrimitiveType type)
Replies the icon for an OSM primitive typestatic Optional<ImageResource>
OsmPrimitiveImageProvider. getResource(String key, String value, OsmPrimitiveType primitiveType)
Searches for an icon for the given key/value and primitiveTypeMethod parameters in org.openstreetmap.josm.tools with type arguments of type OsmPrimitiveType Modifier and Type Method Description private static String
SearchCompilerQueryWizard. constructQuery(SearchCompiler.Match match, Set<OsmPrimitiveType> types)
-