Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.command |
Provides the classes for JOSM commands allowing to modify an OSM data set.
|
org.openstreetmap.josm.data.osm | |
org.openstreetmap.josm.data.osm.visitor | |
org.openstreetmap.josm.gui.datatransfer | |
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<PrimitiveData> |
PasteTagsAction.TagPaster.source |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<? extends PrimitiveData> |
PasteTagsAction.TagPaster.getSourcePrimitivesByType(OsmPrimitiveType type)
Replies all primitives of type
type in the current selection. |
Constructor and Description |
---|
TagPaster(java.util.Collection<PrimitiveData> source,
java.util.Collection<OsmPrimitive> target)
Constructs a new
TagPaster . |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<OsmPrimitive,PrimitiveData> |
DeleteCommand.clonedPrimitives |
private java.util.Map<OsmPrimitive,PrimitiveData> |
Command.cloneMap
the map of OsmPrimitives in the original state to OsmPrimitives in cloned state
|
private java.util.List<PrimitiveData> |
AddPrimitivesCommand.data |
protected Storage<PrimitiveData> |
PurgeCommand.makeIncompleteData |
protected java.util.Map<PrimitiveId,PrimitiveData> |
PurgeCommand.makeIncompleteDataByPrimId |
java.util.Map<OsmPrimitive,PrimitiveData> |
Command.CloneVisitor.orig |
private java.util.Collection<PrimitiveData> |
AddPrimitivesCommand.toSelect |
Modifier and Type | Method and Description |
---|---|
PrimitiveData |
Command.getOrig(OsmPrimitive osm)
Lets other commands access the original version
of the object.
|
Modifier and Type | Method and Description |
---|---|
private void |
AddPrimitivesCommand.init(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect) |
private void |
AddPrimitivesCommand.init(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect) |
Constructor and Description |
---|
AddPrimitivesCommand(java.util.List<PrimitiveData> data)
Constructs a new
AddPrimitivesCommand to add data to the current edit layer. |
AddPrimitivesCommand(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect)
Constructs a new
AddPrimitivesCommand to add data to the current edit layer. |
AddPrimitivesCommand(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect)
Constructs a new
AddPrimitivesCommand to add data to the current edit layer. |
AddPrimitivesCommand(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect,
OsmDataLayer layer)
Constructs a new
AddPrimitivesCommand to add data to the given layer. |
AddPrimitivesCommand(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect,
OsmDataLayer layer)
Constructs a new
AddPrimitivesCommand to add data to the given layer. |
Modifier and Type | Class and Description |
---|---|
class |
NodeData |
class |
RelationData |
class |
WayData |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends PrimitiveData> |
OsmPrimitiveType.dataClass |
private java.util.List<PrimitiveData> |
PrimitiveDeepCopy.directlyAdded |
private java.util.List<PrimitiveData> |
PrimitiveDeepCopy.referenced |
Modifier and Type | Method and Description |
---|---|
static <T extends PrimitiveData> |
PrimitiveData.getFilteredList(java.util.Collection<T> list,
OsmPrimitiveType type) |
Modifier and Type | Method and Description |
---|---|
abstract PrimitiveData |
PrimitiveData.makeCopy() |
abstract PrimitiveData |
OsmPrimitive.save()
Save parameters of this primitive to the transport object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PrimitiveData> |
PrimitiveDeepCopy.getAll() |
java.lang.Class<? extends PrimitiveData> |
OsmPrimitiveType.getDataClass() |
java.util.List<PrimitiveData> |
PrimitiveDeepCopy.getDirectlyAdded() |
java.util.List<PrimitiveData> |
PrimitiveDeepCopy.getReferenced() |
Modifier and Type | Method and Description |
---|---|
void |
Relation.load(PrimitiveData data) |
void |
OsmPrimitive.load(PrimitiveData data)
Loads (clone) this primitive from provided PrimitiveData
|
void |
Way.load(PrimitiveData data) |
void |
Node.load(PrimitiveData data) |
protected void |
OsmPrimitive.saveCommonAttributes(PrimitiveData data)
Save common parameters of primitives to the transport object
|
Constructor and Description |
---|
PrimitiveData(PrimitiveData data) |
Constructor and Description |
---|
OsmPrimitiveType(java.lang.String apiTypeName,
java.lang.Class<? extends OsmPrimitive> osmClass,
java.lang.Class<? extends PrimitiveData> dataClass) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<OsmPrimitive,PrimitiveData> |
MergeSourceBuildingVisitor.mappedPrimitives |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<PrimitiveData> |
PrimitiveTransferable.Data.primitiveData |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PrimitiveData> |
PrimitiveTransferable.Data.getPrimitiveData()
Returns the contained
PrimitiveData |
Constructor and Description |
---|
Data(java.util.Collection<PrimitiveData> primitiveData) |
Modifier and Type | Method and Description |
---|---|
private void |
OsmReader.readCommon(PrimitiveData current)
Read out the common attributes and put them into current OsmPrimitive.
|