Uses of Class
org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive
-
Packages that use HistoryOsmPrimitive Package Description 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.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.dialogs.changeset Standalone dialog allowing to handle OSM changesets (query and display them).org.openstreetmap.josm.gui.history Provides GUI classes for handling history of OSM objects.org.openstreetmap.josm.io Provides the classes for JOSM input/output support. -
-
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm declared as HistoryOsmPrimitive Modifier and Type Field Description private HistoryOsmPrimitive
ChangesetDataSet.DefaultChangesetDataSetEntry. primitive
Methods in org.openstreetmap.josm.data.osm that return HistoryOsmPrimitive Modifier and Type Method Description HistoryOsmPrimitive
ChangesetDataSet.ChangesetDataSetEntry. getPrimitive()
Returns the affected history primitive.HistoryOsmPrimitive
ChangesetDataSet.DefaultChangesetDataSetEntry. getPrimitive()
HistoryOsmPrimitive
ChangesetDataSet. getPrimitive(PrimitiveId id)
Replies theHistoryOsmPrimitive
with idid
from this dataset.Methods in org.openstreetmap.josm.data.osm with parameters of type HistoryOsmPrimitive Modifier and Type Method Description java.lang.String
DefaultNameFormatter. buildDefaultToolTip(HistoryOsmPrimitive primitive)
Builds a default tooltip text for an HistoryOsmPrimitiveprimitive
.protected void
DefaultNameFormatter. decorateNameWithId(java.lang.StringBuilder name, HistoryOsmPrimitive primitive)
Decorates the name of primitive with its id, if the preferenceosm-primitives.showid
is set.private static java.lang.String
DefaultNameFormatter. formatLocalName(HistoryOsmPrimitive osm)
void
ChangesetDataSet. put(HistoryOsmPrimitive primitive, ChangesetDataSet.ChangesetModificationType cmt)
Remembers a history primitive with the given modification typeConstructors in org.openstreetmap.josm.data.osm with parameters of type HistoryOsmPrimitive Constructor Description DefaultChangesetDataSetEntry(ChangesetDataSet.ChangesetModificationType modificationType, HistoryOsmPrimitive primitive)
Construct new entry. -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.data.osm.history
Subclasses of HistoryOsmPrimitive in org.openstreetmap.josm.data.osm.history Modifier and Type Class Description class
HistoryNode
Represents an immutable OSM node 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 HistoryOsmPrimitive Modifier and Type Field Description private java.util.Map<PrimitiveId,java.util.ArrayList<HistoryOsmPrimitive>>
HistoryDataSet. data
the history dataprivate java.util.List<HistoryOsmPrimitive>
History. versions
the list of object snapshotsMethods in org.openstreetmap.josm.data.osm.history that return HistoryOsmPrimitive Modifier and Type Method Description static HistoryOsmPrimitive
HistoryOsmPrimitive. forOsmPrimitive(OsmPrimitive p)
HistoryOsmPrimitive
History. get(int idx)
Replies the history primitive at indexidx
.HistoryOsmPrimitive
HistoryDataSet. get(long id, OsmPrimitiveType type, long version)
Replies the history primitive for the primitive with idid
and versionversion
.HistoryOsmPrimitive
History. getByDate(java.time.Instant date)
Replies the history primitive at givendate
.HistoryOsmPrimitive
History. getByVersion(long version)
Replies the history primitive with versionversion
.HistoryOsmPrimitive
History. getEarliest()
Replies the earliest entry of this history.HistoryOsmPrimitive
History. getLatest()
Replies the latest entry of this history.HistoryOsmPrimitive
History. getWhichChangedTag(HistoryOsmPrimitive primitive, java.lang.String key, boolean isLatest)
Replies the history primitive which changed the given key.Methods in org.openstreetmap.josm.data.osm.history with parameters of type HistoryOsmPrimitive Modifier and Type Method Description int
HistoryOsmPrimitive. compareTo(HistoryOsmPrimitive o)
HistoryOsmPrimitive
History. getWhichChangedTag(HistoryOsmPrimitive primitive, java.lang.String key, boolean isLatest)
Replies the history primitive which changed the given key.boolean
History.FilterPredicate. matches(HistoryOsmPrimitive primitive)
void
HistoryDataSet. put(HistoryOsmPrimitive primitive)
Adds a history primitive to the data setConstructor parameters in org.openstreetmap.josm.data.osm.history with type arguments of type HistoryOsmPrimitive Constructor Description History(long id, OsmPrimitiveType type, java.util.List<HistoryOsmPrimitive> versions)
Creates a new history for an OSM primitive. -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui with parameters of type HistoryOsmPrimitive Modifier and Type Method Description private java.awt.Component
PrimitiveRenderer. renderer(java.awt.Component def, HistoryOsmPrimitive value)
Internal method that stuffs information into the rendering component provided that it's a kind of JLabel. -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.gui.dialogs.changeset
Fields in org.openstreetmap.josm.gui.dialogs.changeset declared as HistoryOsmPrimitive Modifier and Type Field Description private HistoryOsmPrimitive
ChangesetContentTableModel.ChangesetContentEntry. primitive
Methods in org.openstreetmap.josm.gui.dialogs.changeset that return HistoryOsmPrimitive Modifier and Type Method Description HistoryOsmPrimitive
ChangesetContentTableModel.ChangesetContentEntry. getPrimitive()
Methods in org.openstreetmap.josm.gui.dialogs.changeset that return types with arguments of type HistoryOsmPrimitive Modifier and Type Method Description private java.util.Set<HistoryOsmPrimitive>
ChangesetContentPanel. getSelectedPrimitives()
java.util.Set<HistoryOsmPrimitive>
ChangesetContentTableModel. getSelectedPrimitives(javax.swing.JTable table)
Returns the selected history primitives.Method parameters in org.openstreetmap.josm.gui.dialogs.changeset with type arguments of type HistoryOsmPrimitive Modifier and Type Method Description private void
ChangesetContentPanel. alertNoPrimitivesTo(java.util.Collection<HistoryOsmPrimitive> primitives, java.lang.String title, java.lang.String helpTopic)
Constructors in org.openstreetmap.josm.gui.dialogs.changeset with parameters of type HistoryOsmPrimitive Constructor Description ChangesetContentEntry(ChangesetDataSet.ChangesetModificationType modificationType, HistoryOsmPrimitive primitive)
-
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.gui.history
Fields in org.openstreetmap.josm.gui.history declared as HistoryOsmPrimitive Modifier and Type Field Description private HistoryOsmPrimitive
HistoryBrowserModel.HistoryPrimitiveBuilder. clone
private HistoryOsmPrimitive
HistoryBrowserModel. current
private HistoryOsmPrimitive
HistoryBrowserModel. latest
latest isn't a reference of history.private HistoryOsmPrimitive
VersionTable.ChangesetInfoAction. primitive
private HistoryOsmPrimitive
VersionTable.UserInfoAction. primitive
private HistoryOsmPrimitive
HistoryBrowserModel. reference
Methods in org.openstreetmap.josm.gui.history that return HistoryOsmPrimitive Modifier and Type Method Description (package private) HistoryOsmPrimitive
HistoryBrowserModel.HistoryPrimitiveBuilder. build(OsmPrimitive primitive)
HistoryOsmPrimitive
HistoryBrowserModel. getCurrentPointInTime()
Replies the history OSM primitive for thePointInTimeType.CURRENT_POINT_IN_TIME
HistoryOsmPrimitive
HistoryBrowserModel. getLatest()
Returns the latestHistoryOsmPrimitive
.protected HistoryOsmPrimitive
CoordinateInfoViewer.Updater. getOppositePrimitive()
HistoryOsmPrimitive
HistoryBrowserModel. getPointInTime(PointInTimeType type)
replies the history OSM primitive for a given point in timeprotected HistoryOsmPrimitive
CoordinateInfoViewer.Updater. getPrimitive()
HistoryOsmPrimitive
HistoryBrowserModel. getPrimitive(int row)
Returns theHistoryPrimitive
at the given row.protected HistoryOsmPrimitive
VersionInfoPanel. getPrimitive()
HistoryOsmPrimitive
HistoryBrowserModel. getReferencePointInTime()
Replies the history OSM primitive for thePointInTimeType.REFERENCE_POINT_IN_TIME
HistoryOsmPrimitive
TagTableModel. getWhichChangedTag(java.lang.String key)
Returns the history primitive which changed the given key.Methods in org.openstreetmap.josm.gui.history with parameters of type HistoryOsmPrimitive Modifier and Type Method Description HistoryLoadTask
HistoryLoadTask. add(HistoryOsmPrimitive primitive)
Adds an object to be loaded, the object is specified by a history item.java.awt.Color
HistoryBrowserModel. getVersionColor(HistoryOsmPrimitive primitive)
Returns the color for the given primitive timestampjava.awt.Color
TagTableModel. getVersionColor(HistoryOsmPrimitive primitive)
Returns the color for the given primitive timestampjava.lang.String
TagTableModel. getVersionString(HistoryOsmPrimitive primitive)
Returns a version string for the given primitive,"*"
if it is is latest.boolean
HistoryBrowserModel. isLatest(HistoryOsmPrimitive primitive)
Returns true ifprimitive
is the latest primitive representing the version currently edited in the current data layer.void
VersionTable.ChangesetInfoAction. prepare(HistoryOsmPrimitive primitive)
void
VersionTable.UserInfoAction. prepare(HistoryOsmPrimitive primitive)
void
VersionTable.VersionTablePopupMenu. prepare(HistoryOsmPrimitive primitive)
void
HistoryBrowserModel. setCurrentPointInTime(HistoryOsmPrimitive current)
Sets theHistoryOsmPrimitive
which plays the role of the current point in time (seePointInTimeType
).protected void
HistoryBrowserModel. setLatest(HistoryOsmPrimitive latest)
Sets the latestHistoryOsmPrimitive
.void
HistoryBrowserModel. setReferencePointInTime(HistoryOsmPrimitive reference)
Sets theHistoryOsmPrimitive
which plays the role of a reference point in time (seePointInTimeType
). -
Uses of HistoryOsmPrimitive in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as HistoryOsmPrimitive Modifier and Type Field Description protected HistoryOsmPrimitive
AbstractParser. currentPrimitive
the current primitive to be readMethods in org.openstreetmap.josm.io that return HistoryOsmPrimitive Modifier and Type Method Description protected HistoryOsmPrimitive
AbstractParser. createPrimitive(org.xml.sax.Attributes atts, OsmPrimitiveType type)
-