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.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.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 else
|
org.openstreetmap.josm.gui.dialogs.changeset |
Standalone dialog allowing to handle OSM changesets (query and display them).
|
org.openstreetmap.josm.gui.download |
Provides GUI classes for the download dialog.
|
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.io |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Changeset> |
CloseChangesetAction.DownloadOpenChangesetsTask.changesets |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Changeset> |
AbstractChangesetDownloadTask.RunnableDownloadTask.downloadedChangesets
the set of downloaded changesets
|
Modifier and Type | Method and Description |
---|---|
static ChangesetHeaderDownloadTask |
ChangesetHeaderDownloadTask.buildTaskForChangesets(java.util.Collection<Changeset> changesets)
Builds a download task from for a collection of changesets.
|
static ChangesetHeaderDownloadTask |
ChangesetHeaderDownloadTask.buildTaskForChangesets(java.awt.Component parent,
java.util.Collection<Changeset> changesets)
Builds a download task from for a collection of changesets.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Changeset> |
DefaultChangesetCacheEvent.added |
private java.util.Map<java.lang.Integer,Changeset> |
ChangesetCache.cache
the cached changesets
|
private java.util.Set<Changeset> |
DefaultChangesetCacheEvent.modified |
private java.util.Set<Changeset> |
DefaultChangesetCacheEvent.removed |
Modifier and Type | Method and Description |
---|---|
static Changeset |
Changeset.fromPrimitive(OsmPrimitive primitive)
Creates a changeset with the data obtained from the given preset, i.e.,
the
changeset id , user , and
timestamp . |
Changeset |
ChangesetCache.get(int id)
Returns the entry for given changeset identifier.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Changeset> |
ChangesetCacheEvent.getAddedChangesets()
Gets a list of
Changeset s that were added to the cache |
java.util.Collection<Changeset> |
DefaultChangesetCacheEvent.getAddedChangesets() |
java.util.Set<Changeset> |
ChangesetCache.getChangesets()
Returns the list of changesets contained in the cache.
|
java.util.List<Changeset> |
ChangesetCache.getOpenChangesets()
Replies the list of open changesets.
|
java.util.List<Changeset> |
ChangesetCache.getOpenChangesetsForCurrentUser()
|
java.util.Collection<Changeset> |
ChangesetCacheEvent.getRemovedChangesets()
Gets a list of
Changeset s that were removed from the cache |
java.util.Collection<Changeset> |
DefaultChangesetCacheEvent.getRemovedChangesets() |
java.util.Collection<Changeset> |
ChangesetCacheEvent.getUpdatedChangesets()
Gets a list of
Changeset s that were changed |
java.util.Collection<Changeset> |
DefaultChangesetCacheEvent.getUpdatedChangesets() |
Modifier and Type | Method and Description |
---|---|
int |
Changeset.compareTo(Changeset other)
Compares this changeset to another, based on their identifier.
|
boolean |
ChangesetCache.contains(Changeset cs)
Determines if the cache contains an entry for given changeset.
|
java.lang.String |
NameFormatter.format(Changeset changeset)
Formats a name for a
Changeset . |
java.lang.String |
DefaultNameFormatter.format(Changeset changeset) |
boolean |
Changeset.hasEqualSemanticAttributes(Changeset other)
Determines if this changeset has equals semantic attributes with another one.
|
void |
Changeset.mergeFrom(Changeset other)
Merges changeset metadata from another changeset.
|
void |
DefaultChangesetCacheEvent.rememberAddedChangeset(Changeset cs)
Adds a
Changeset to the added list |
void |
DefaultChangesetCacheEvent.rememberRemovedChangeset(Changeset cs)
Adds a
Changeset to the removed list |
void |
DefaultChangesetCacheEvent.rememberUpdatedChangeset(Changeset cs)
Adds a
Changeset to the updated list |
void |
ChangesetCache.remove(Changeset cs)
Remove the entry for the given changeset.
|
void |
ChangesetCache.update(Changeset cs)
Update a single changeset.
|
private void |
ChangesetCache.update(Changeset cs,
DefaultChangesetCacheEvent e) |
Modifier and Type | Method and Description |
---|---|
void |
ChangesetCache.remove(java.util.Collection<Changeset> changesets)
Removes the changesets in
changesets from the cache. |
void |
ChangesetCache.update(java.util.Collection<Changeset> changesets)
Update a collection of changesets.
|
Constructor and Description |
---|
Changeset(Changeset other)
Creates a clone of
other |
Modifier and Type | Field and Description |
---|---|
private Changeset |
HistoryOsmPrimitive.changeset |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Long,Changeset> |
HistoryDataSet.changesets |
Modifier and Type | Method and Description |
---|---|
Changeset |
HistoryOsmPrimitive.getChangeset()
Returns the changeset for this history primitive.
|
Modifier and Type | Method and Description |
---|---|
void |
HistoryDataSet.putChangeset(Changeset changeset)
Adds a changeset to the data set
|
void |
HistoryOsmPrimitive.setChangeset(Changeset changeset)
Sets the changeset for this history primitive.
|
Modifier and Type | Field and Description |
---|---|
private javax.swing.JList<Changeset> |
ChangesetDialog.lstInActiveDataLayer |
private javax.swing.JList<Changeset> |
ChangesetDialog.lstInSelection |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JList<Changeset> |
ChangesetDialog.getCurrentChangesetList() |
Modifier and Type | Field and Description |
---|---|
private Changeset |
ChangesetCacheManagerModel.changesetInDetailView |
private Changeset |
ChangesetContentPanel.HeaderPanel.current |
private Changeset |
ChangesetDiscussionPanel.current |
private Changeset |
ChangesetContentPanel.currentChangeset |
private Changeset |
ChangesetDetailPanel.currentChangeset |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Changeset> |
ChangesetCacheManagerModel.data |
private java.util.List<Changeset> |
ChangesetListModel.data |
private Storage<Changeset> |
ChangesetListModel.shownChangesets |
Modifier and Type | Method and Description |
---|---|
Changeset |
ChangesetAware.getCurrentChangeset()
Returns the current changeset.
|
Changeset |
ChangesetContentPanel.getCurrentChangeset() |
Changeset |
ChangesetDetailPanel.getCurrentChangeset() |
Changeset |
ChangesetListModel.getElementAt(int idx) |
Changeset |
ChangesetCacheManagerModel.getValueAt(int row,
int column) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Changeset> |
ChangesetCacheManagerModel.getSelectedChangesets()
Replies the list of selected changesets
|
java.util.Set<Changeset> |
ChangesetListModel.getSelectedChangesets()
Gets the list of changesets that are currently selected
|
java.util.List<Changeset> |
ChangesetListModel.getSelectedOpenChangesets()
Replies the selected open changesets
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
ChangesetListCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends Changeset> list,
Changeset cs,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
ChangesetDiscussionPanel.UpdateChangesetDiscussionAction.initProperties(Changeset cs) |
void |
ChangesetDetailPanel.RemoveFromCacheAction.initProperties(Changeset cs) |
void |
ChangesetDetailPanel.UpdateChangesetAction.initProperties(Changeset cs) |
(package private) void |
ChangesetDetailPanel.OpenChangesetPopupMenuAction.initProperties(Changeset cs) |
protected void |
ChangesetCacheTableCellRenderer.renderChanges(Changeset cs) |
protected void |
ChangesetCacheTableCellRenderer.renderDiscussions(Changeset cs) |
protected void |
ChangesetListCellRenderer.renderLabel(Changeset cs) |
protected void |
ChangesetCacheTableCellRenderer.renderOpen(Changeset cs) |
protected void |
ChangesetCacheTableCellRenderer.renderUploadComment(Changeset cs) |
void |
ChangesetContentPanel.HeaderPanel.setChangeset(Changeset cs) |
void |
ChangesetCacheManagerModel.setChangesetInDetailView(Changeset cs)
Sets the changeset currently displayed in the detail view.
|
protected void |
ChangesetContentPanel.setCurrentChangeset(Changeset cs) |
protected void |
ChangesetDiscussionPanel.setCurrentChangeset(Changeset cs) |
protected void |
ChangesetDetailPanel.setCurrentChangeset(Changeset cs) |
protected void |
ChangesetDiscussionPanel.updateView(Changeset cs) |
protected void |
ChangesetDetailPanel.updateView(Changeset cs) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
ChangesetListCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends Changeset> list,
Changeset cs,
int index,
boolean isSelected,
boolean cellHasFocus) |
protected void |
ChangesetListModel.setChangesets(java.util.Collection<Changeset> changesets) |
void |
ChangesetCacheManager.setSelectedChangesets(java.util.Collection<Changeset> changesets)
Selects the changesets in
changests , provided the
respective changesets are already present in the local changeset cache. |
void |
ChangesetCacheManagerModel.setSelectedChangesets(java.util.Collection<Changeset> selected)
Selects the changesets in
selected . |
void |
ChangesetListModel.setSelectedChangesets(java.util.Collection<Changeset> changesets)
Sets the changesets to select
|
Constructor and Description |
---|
ChangesetBookmark(Changeset cs)
Constructs a new
ChangesetBookmark . |
Modifier and Type | Method and Description |
---|---|
void |
VersionInfoPanel.update(Changeset cs,
boolean isLatest,
java.util.Date timestamp,
long version,
PrimitiveId id)
Updates the content of this panel based on the changeset information given by
cs . |
protected static void |
VersionInfoPanel.updateText(Changeset cs,
java.lang.String attr,
javax.swing.JTextArea textArea,
javax.swing.JLabel label,
Changeset oppCs,
javax.swing.JComponent container) |
Modifier and Type | Field and Description |
---|---|
private Changeset |
UploadLayerTask.changeset |
private Changeset |
UploadPrimitivesTask.changeset |
private Changeset |
OpenChangesetComboBoxModel.selectedChangeset |
private Changeset |
UploadParameterSummaryPanel.selectedChangeset |
Modifier and Type | Field and Description |
---|---|
private JosmComboBox<Changeset> |
ChangesetManagementPanel.cbOpenChangesets |
private java.util.List<Changeset> |
DownloadOpenChangesetsTask.changesets |
private java.util.Collection<Changeset> |
CloseChangesetTask.changesets |
private java.util.List<Changeset> |
OpenChangesetComboBoxModel.changesets |
private java.util.List<Changeset> |
CloseChangesetTask.closedChangesets |
private javax.swing.JList<Changeset> |
CloseChangesetDialog.lstOpenChangesets
the list
|
private javax.swing.DefaultListModel<Changeset> |
CloseChangesetDialog.model
the list model
|
Modifier and Type | Method and Description |
---|---|
Changeset |
UploadDialog.getChangeset()
Replies the current changeset
|
protected Changeset |
OpenChangesetComboBoxModel.getChangesetById(long id) |
Changeset |
OpenChangesetComboBoxModel.getElementAt(int index) |
Changeset |
ChangesetManagementPanel.getSelectedChangeset()
Replies the currently selected changeset.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Changeset> |
DownloadOpenChangesetsTask.getChangesets()
Returns the changesets.
|
java.util.Collection<Changeset> |
CloseChangesetDialog.getSelectedChangesets()
Replies a collection with the changesets the user selected.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
ChangesetCellRenderer.buildToolTipText(Changeset cs) |
static java.util.Optional<AsynchronousUploadPrimitivesTask> |
AsynchronousUploadPrimitivesTask.createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer dataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Creates an instance of AsynchronousUploadPrimitiveTask
|
java.awt.Component |
ChangesetCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends Changeset> list,
Changeset cs,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
UploadDialog.setSelectedChangesetForNextUpload(Changeset cs)
Sets the changeset to be used in the next upload
|
void |
ChangesetManagementPanel.setSelectedChangesetForNextUpload(Changeset cs)
Sets the changeset to be used in the next upload
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
ChangesetCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends Changeset> list,
Changeset cs,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
CloseChangesetDialog.setChangesets(java.util.Collection<Changeset> changesets)
Sets the collection of changesets to be displayed
|
Constructor and Description |
---|
AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer osmDataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Private constructor to restrict creating more Asynchronous upload tasks
|
UploadLayerTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
ProgressMonitor monitor,
Changeset changeset)
Creates the upload task
|
UploadPrimitivesTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
APIDataSet toUpload,
Changeset changeset)
Creates the task
|
Constructor and Description |
---|
CloseChangesetTask(java.util.Collection<Changeset> changesets)
Closes all changesets in
changesets if they are not null, if they
are still open and if they have an id > 0. |
Modifier and Type | Field and Description |
---|---|
private Changeset |
OsmWriter.changeset |
private Changeset |
OsmApi.changeset
Object describing current changeset
|
private Changeset |
OsmChangesetParser.Parser.current
The current changeset
|
protected Changeset |
AbstractReader.uploadChangeset |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Changeset> |
OsmChangesetParser.changesets |
Modifier and Type | Method and Description |
---|---|
Changeset |
OsmApi.getChangeset()
Replies the changeset data uploads are currently directed to
|
Changeset |
OsmServerChangesetReader.readChangeset(long id,
boolean includeDiscussion,
ProgressMonitor monitor)
Reads the changeset with id
id from the server. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Changeset> |
OsmChangesetParser.getChangesets()
Returns the parsed changesets.
|
static java.util.List<Changeset> |
OsmChangesetParser.parse(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the list of changesets
|
java.util.List<Changeset> |
OsmServerChangesetReader.queryChangesets(ChangesetQuery query,
ProgressMonitor monitor)
Queries a list
|
java.util.List<Changeset> |
OsmServerChangesetReader.readChangesets(java.util.Collection<java.lang.Integer> ids,
boolean includeDiscussion,
ProgressMonitor monitor)
Reads the changesets with id
ids from the server. |
Modifier and Type | Method and Description |
---|---|
void |
OsmApi.closeChangeset(Changeset changeset,
ProgressMonitor monitor)
Closes a changeset on the server.
|
void |
OsmApi.openChangeset(Changeset changeset,
ProgressMonitor progressMonitor)
Creates a new changeset based on the keys in
changeset . |
protected java.util.Set<OsmPrimitive> |
DiffResultProcessor.postProcess(Changeset cs,
ProgressMonitor monitor)
Postprocesses the diff result read and parsed from the server.
|
void |
OsmWriter.setChangeset(Changeset cs) |
void |
OsmApi.setChangeset(Changeset changeset)
Sets the changesets to which further data uploads are directed.
|
protected java.lang.String |
OsmApi.toXml(Changeset s)
Makes an XML string from an OSM primitive.
|
void |
OsmApi.updateChangeset(Changeset changeset,
ProgressMonitor monitor)
Updates a changeset with the keys in
changesetUpdate . |
void |
OsmServerWriter.uploadOsm(UploadStrategySpecification strategy,
java.util.Collection<? extends OsmPrimitive> primitives,
Changeset changeset,
ProgressMonitor monitor)
Send the dataset to the server.
|
void |
OsmWriter.visit(Changeset cs)
Visiting call for changesets.
|
Constructor and Description |
---|
OsmChangeBuilder(Changeset changeset)
Constructs a new
OsmChangeBuilder . |
OsmChangeBuilder(Changeset changeset,
java.lang.String apiVersion)
Constructs a new
OsmChangeBuilder . |