Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.downloadtasks |
Provides the classes for JOSM
download 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 classes
|
org.openstreetmap.josm.data.osm.history |
Provides the classes for OSM primitives
history (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.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
UpdateSelectionAction.handlePrimitiveGoneException(long id,
OsmPrimitiveType type)
handle an exception thrown because a primitive was deleted on the server
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Long,OsmPrimitiveType> |
DownloadReferrersTask.children
the collection of child primitives
|
Modifier and Type | Method and Description |
---|---|
protected void |
DownloadReferrersTask.downloadParents(long id,
OsmPrimitiveType type,
ProgressMonitor progressMonitor) |
Modifier and Type | Method and Description |
---|---|
private java.util.EnumSet<OsmPrimitiveType> |
DeleteCommand.getTypesToDelete() |
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
RelationMemberData.memberType |
private OsmPrimitiveType |
SimplePrimitiveId.type |
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<OsmPrimitiveType> |
OsmPrimitiveType.DATA_VALUES |
Modifier and Type | Method and Description |
---|---|
static OsmPrimitiveType |
OsmPrimitiveType.from(IPrimitive obj)
Determines the OSM primitive type of the given object.
|
static OsmPrimitiveType |
OsmPrimitiveType.from(java.lang.String value)
Returns enum value from API type name / JOSM display name, case insensitive.
|
static OsmPrimitiveType |
OsmPrimitiveType.fromApiTypeName(java.lang.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 at
|
default OsmPrimitiveType |
IRelationMember.getDisplayType()
Returns type of member for icon display.
|
OsmPrimitiveType |
RelationMemberData.getDisplayType() |
OsmPrimitiveType |
Way.getDisplayType() |
OsmPrimitiveType |
Relation.getDisplayType() |
OsmPrimitiveType |
RelationMemberData.getMemberType()
Get member type.
|
OsmPrimitiveType |
RelationData.getMemberType(int idx) |
OsmPrimitiveType |
IRelation.getMemberType(int idx)
Returns type of the member at given index.
|
OsmPrimitiveType |
Relation.getMemberType(int idx) |
private static OsmPrimitiveType |
SimplePrimitiveId.getOsmPrimitiveType(char firstChar) |
OsmPrimitiveType |
RelationData.getType() |
OsmPrimitiveType |
RelationMember.getType()
PrimitiveId implementation.
|
OsmPrimitiveType |
Node.getType() |
OsmPrimitiveType |
SimplePrimitiveId.getType() |
OsmPrimitiveType |
WayData.getType() |
OsmPrimitiveType |
PrimitiveId.getType()
Gets the type of object represented by this object.
|
OsmPrimitiveType |
RelationMemberData.getType()
PrimitiveId implementation.
|
OsmPrimitiveType |
Way.getType() |
OsmPrimitiveType |
NodeData.getType() |
OsmPrimitiveType |
Relation.getType() |
static OsmPrimitiveType |
OsmPrimitiveType.valueOf(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<OsmPrimitiveType> |
OsmPrimitiveType.dataValues()
Returns the values matching real OSM API data types (node, way, relation).
|
Modifier and Type | Method and Description |
---|---|
static <T extends PrimitiveData> |
PrimitiveData.getFilteredList(java.util.Collection<T> list,
OsmPrimitiveType type)
Returns a filtered list for a given primitive type.
|
default O |
OsmData.getPrimitiveById(long id,
OsmPrimitiveType type)
Returns a primitive with a given id from the data set.
|
Constructor and Description |
---|
RelationMemberData(java.lang.String role,
OsmPrimitiveType type,
long id)
Constructs a new
RelationMemberData . |
SimplePrimitiveId(long id,
OsmPrimitiveType type)
Create a new primtive id
|
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
History.type
the object type
|
Modifier and Type | Method and Description |
---|---|
OsmPrimitiveType |
HistoryRelation.getType()
replies the type, i.e.
|
OsmPrimitiveType |
HistoryWay.getType()
replies the ways type, i.e.
|
OsmPrimitiveType |
History.getType()
Replies the primitive type for this history.
|
abstract OsmPrimitiveType |
HistoryOsmPrimitive.getType()
Returns the primitive type.
|
OsmPrimitiveType |
HistoryNode.getType() |
Modifier and Type | Method and Description |
---|---|
HistoryOsmPrimitive |
HistoryDataSet.get(long id,
OsmPrimitiveType type,
long version)
Replies the history primitive for the primitive with id
id
and version version . |
History |
HistoryDataSet.getHistory(long id,
OsmPrimitiveType type)
Replies the history for a given primitive with id
id
and type type . |
Constructor and Description |
---|
History(long id,
OsmPrimitiveType type,
java.util.List<HistoryOsmPrimitive> versions)
Creates a new history for an OSM primitive.
|
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
SearchCompiler.ExactType.type |
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
DuplicateRelation.RelMember.type
Type of the relation member
|
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.Map<OsmPrimitiveType,java.lang.String> |
PasteTagsConflictResolverDialog.PANE_TITLES |
private java.util.Map<OsmPrimitiveType,TagConflictResolver> |
PasteTagsConflictResolverDialog.resolvers |
(package private) java.util.Map<OsmPrimitiveType,java.lang.Integer> |
PasteTagsConflictResolverDialog.StatisticsInfo.sourceInfo |
(package private) java.util.Map<OsmPrimitiveType,java.lang.Integer> |
PasteTagsConflictResolverDialog.StatisticsInfo.targetInfo |
Modifier and Type | Method and Description |
---|---|
TagCollection |
PasteTagsConflictResolverDialog.getResolution(OsmPrimitiveType type) |
protected void |
PasteTagsConflictResolverDialog.initResolver(OsmPrimitiveType type,
TagCollection tc,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Initializes the conflict resolver for a specific type of primitives
|
Modifier and Type | Method and Description |
---|---|
protected void |
PasteTagsConflictResolverDialog.initResolver(OsmPrimitiveType type,
TagCollection tc,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Initializes the conflict resolver for a specific type of primitives
|
void |
PasteTagsConflictResolverDialog.populate(TagCollection tagsForAllPrimitives,
java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Populates the conflict resolver with one tag collection
|
void |
PasteTagsConflictResolverDialog.populate(TagCollection tagsForAllPrimitives,
java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Populates the conflict resolver with one tag collection
|
void |
PasteTagsConflictResolverDialog.populate(TagCollection tagsForNodes,
TagCollection tagsForWays,
TagCollection tagsForRelations,
java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Populate the tag conflict resolver with tags for each type of primitives
|
void |
PasteTagsConflictResolverDialog.populate(TagCollection tagsForNodes,
TagCollection tagsForWays,
TagCollection tagsForRelations,
java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Populate the tag conflict resolver with tags for each type of primitives
|
private void |
PasteTagsConflictResolverDialog.StatisticsInfoRenderer.renderStatistics(java.util.Map<OsmPrimitiveType,java.lang.Integer> stat) |
Modifier and Type | Field and Description |
---|---|
private java.util.EnumMap<OsmPrimitiveType,java.lang.Integer> |
PrimitiveTagTransferData.counts |
private java.util.EnumMap<OsmPrimitiveType,TagCollection> |
PrimitiveTagTransferData.tags |
Modifier and Type | Method and Description |
---|---|
java.util.Map<OsmPrimitiveType,java.lang.Integer> |
PrimitiveTagTransferData.getStatistics()
Gets the statistics of the source primitive counts.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.EnumMap<OsmPrimitiveType,java.util.Map<java.lang.Long,java.lang.Long>> |
PrimitiveDataPaster.generateNewPrimitives(PrimitiveTransferData pasteBuffer,
java.util.List<PrimitiveData> bufferCopy,
java.util.List<PrimitiveData> toSelect) |
protected java.util.Map<OsmPrimitiveType,java.lang.Integer> |
PrimitiveTagTransferPaster.TagPasteSupport.getTargetStatistics() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PrimitiveTagTransferPaster.TagPasteSupport.hasTargetPrimitives(OsmPrimitiveType type)
Replies true if there is at least one primitive of type
type
is in the target collection |
Modifier and Type | Method and Description |
---|---|
private static void |
PrimitiveDataPaster.updateMembers(java.util.EnumMap<OsmPrimitiveType,java.util.Map<java.lang.Long,java.lang.Long>> newIds,
PrimitiveData data) |
Modifier and Type | Method and Description |
---|---|
protected OsmPrimitive |
UploadLayerTask.getPrimitive(OsmPrimitiveType type,
long id) |
protected void |
AbstractUploadTask.handleUploadConflictForKnownConflict(OsmPrimitiveType primitiveType,
long id,
java.lang.String serverVersion,
java.lang.String myVersion)
Handles the case that a conflict in a specific
OsmPrimitive was detected while
uploading |
protected void |
AbstractUploadTask.synchronizePrimitive(OsmPrimitiveType type,
long id)
Synchronizes the local state of an
OsmPrimitive with its state on the
server. |
Modifier and Type | Method and Description |
---|---|
boolean |
Selector.OptimizedGeneralSelector.matchesBase(OsmPrimitiveType type) |
Modifier and Type | Method and Description |
---|---|
static TaggingPresetType |
TaggingPresetType.forPrimitiveType(OsmPrimitiveType type)
Determines the
TaggingPresetType of a given primitive type. |
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
OsmIdTextField.OsmIdValidator.type |
Modifier and Type | Method and Description |
---|---|
OsmPrimitiveType |
OsmPrimitiveTypesComboBox.getType()
Replies the currently selected
OsmPrimitiveType . |
Modifier and Type | Method and Description |
---|---|
void |
OsmIdTextField.setType(OsmPrimitiveType type)
Sets the type of primitive object
|
Modifier and Type | Field and Description |
---|---|
private OsmPrimitiveType |
OsmServerHistoryReader.primitiveType |
private OsmPrimitiveType |
OsmServerBackreferenceReader.primitiveType
the type of the primitive
|
private OsmPrimitiveType |
OsmApiPrimitiveGoneException.type
the type of the primitive which is gone on the server
|
private OsmPrimitiveType |
MultiFetchServerObjectReader.Fetcher.type |
Modifier and Type | Method and Description |
---|---|
OsmPrimitiveType |
OsmApiPrimitiveGoneException.getPrimitiveType()
Replies the type of the primitive this exception was thrown for.
|
Modifier and Type | Method and Description |
---|---|
MultiFetchServerObjectReader |
MultiFetchServerObjectReader.append(DataSet ds,
long id,
OsmPrimitiveType type)
appends a
OsmPrimitive id to the list of ids which will be fetched from the server. |
protected java.lang.String |
MultiFetchOverpassObjectReader.buildRequestString(OsmPrimitiveType type,
java.util.Set<java.lang.Long> idPackage) |
protected java.lang.String |
MultiFetchServerObjectReader.buildRequestString(OsmPrimitiveType type,
java.util.Set<java.lang.Long> idPackage)
builds the Multi Get request string for a set of ids and a given
OsmPrimitiveType . |
protected HistoryOsmPrimitive |
AbstractParser.createPrimitive(org.xml.sax.Attributes atts,
OsmPrimitiveType type) |
protected void |
MultiFetchServerObjectReader.fetchPrimitives(java.util.Set<java.lang.Long> ids,
OsmPrimitiveType type,
ProgressMonitor progressMonitor)
fetches a set of ids of a given
OsmPrimitiveType from the server |
protected MultiFetchServerObjectReader.FetchResult |
MultiFetchServerObjectReader.Fetcher.multiGetIdPackage(OsmPrimitiveType type,
java.util.Set<java.lang.Long> pkg,
ProgressMonitor progressMonitor)
invokes a Multi Get for a set of ids and a given
OsmPrimitiveType . |
protected DataSet |
MultiFetchServerObjectReader.Fetcher.singleGetId(OsmPrimitiveType type,
long id,
ProgressMonitor progressMonitor)
invokes a Multi Get for a single id and a given
OsmPrimitiveType . |
protected MultiFetchServerObjectReader.FetchResult |
MultiFetchServerObjectReader.Fetcher.singleGetIdPackage(OsmPrimitiveType type,
java.util.Set<java.lang.Long> pkg,
ProgressMonitor progressMonitor)
invokes a sequence of Multi Gets for individual ids in a set of ids and a given
OsmPrimitiveType . |
Constructor and Description |
---|
Fetcher(OsmPrimitiveType type,
java.util.Set<java.lang.Long> idsPackage,
ProgressMonitor progressMonitor)
Constructs a
Fetcher |
OsmServerBackreferenceReader(long id,
OsmPrimitiveType type)
constructor
|
OsmServerBackreferenceReader(long id,
OsmPrimitiveType type,
boolean readFull)
Creates a back reference reader for given primitive id
|
OsmServerHistoryReader(OsmPrimitiveType type,
long id)
constructor
|
OsmServerObjectReader(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.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<OsmPrimitiveType,javax.swing.ImageIcon> |
ImageProvider.osmPrimitiveTypeCache
small cache of critical images used in many parts of the application
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
ImageProvider.get(OsmPrimitiveType type)
Replies the icon for an OSM primitive type
|