Package | Description |
---|---|
org.openstreetmap.josm.actions.downloadtasks | |
org.openstreetmap.josm.actions.upload | |
org.openstreetmap.josm.data.notes | |
org.openstreetmap.josm.data.osm | |
org.openstreetmap.josm.gui | |
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.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.io |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Note> |
DownloadNotesTask.DownloadTask.notesData |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Note,java.lang.Exception> |
UploadNotesTask.UploadTask.failedNotes |
private java.util.Map<Note,Note> |
UploadNotesTask.UploadTask.updatedNotes |
private java.util.Map<Note,Note> |
UploadNotesTask.UploadTask.updatedNotes |
Modifier and Type | Method and Description |
---|---|
private void |
UploadNotesTask.UploadTask.processNoteComment(ProgressMonitor monitor,
OsmApi api,
Note note,
NoteComment comment) |
Modifier and Type | Method and Description |
---|---|
void |
Note.updateWith(Note note)
Copies values from a new note into an existing one.
|
Modifier and Type | Field and Description |
---|---|
private Note |
NoteData.selectedNote |
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<Note> |
NoteData.comparator |
static java.util.Comparator<Note> |
NoteData.DATE_COMPARATOR
Sorts notes strictly by creation date
|
static java.util.Comparator<Note> |
NoteData.DEFAULT_COMPARATOR
Sorts notes in the following order:
1) Open notes
2) Closed notes
3) New notes
Within each subgroup it sorts by ID
|
static java.util.Comparator<Note> |
NoteData.LAST_ACTION_COMPARATOR
Sorts notes by the last modified date
|
private Storage<Note> |
NoteData.noteList |
static java.util.Comparator<Note> |
NoteData.USER_COMPARATOR
Sorts notes by user, then creation date
|
Modifier and Type | Method and Description |
---|---|
Note |
NoteData.getSelectedNote()
Returns the currently selected note
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<Note> |
NoteData.getCurrentSortMethod() |
java.util.Collection<Note> |
NoteData.getNotes()
Returns the notes stored in this layer
|
java.util.Collection<Note> |
NoteData.getSortedNotes()
Returns the notes stored in this layer sorted according to
NoteData.comparator |
Modifier and Type | Method and Description |
---|---|
void |
NoteData.addCommentToNote(Note note,
java.lang.String text)
Add a new comment to an existing note
|
void |
NoteData.closeNote(Note note,
java.lang.String text)
Close note with comment
|
void |
NoteData.reOpenNote(Note note,
java.lang.String text)
Reopen a closed note.
|
void |
NoteData.setSelectedNote(Note note)
Set a selected note.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteData.addNotes(java.util.Collection<Note> newNotes)
Add notes to the data set.
|
void |
NoteData.setSortMethod(java.util.Comparator<Note> comparator)
Set the comparator to be used to sort the note list.
|
void |
NoteData.updateNotes(java.util.Map<Note,Note> updatedNotes)
Updates notes with new state.
|
void |
NoteData.updateNotes(java.util.Map<Note,Note> updatedNotes)
Updates notes with new state.
|
Constructor and Description |
---|
NoteData(java.util.Collection<Note> notes)
Construct a new note container with a given list of notes
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<Note> |
NoteSortDialog.getSelectedComparator() |
Modifier and Type | Method and Description |
---|---|
void |
NoteSortDialog.showSortDialog(java.util.Comparator<Note> currentSortMode)
Builds and displays the window to the user.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Note> |
NotesDialog.NoteTableModel.data |
private javax.swing.JList<Note> |
NotesDialog.displayList |
Modifier and Type | Method and Description |
---|---|
Note |
NotesDialog.NoteTableModel.getElementAt(int index) |
Note |
NotesDialog.getSelectedNote()
Returns the currently selected note, if any.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
NotesDialog.NoteRenderer.getListCellRendererComponent(javax.swing.JList<? extends Note> list,
Note note,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
NotesDialog.NoteRenderer.getListCellRendererComponent(javax.swing.JList<? extends Note> list,
Note note,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
NotesDialog.NoteTableModel.setData(java.util.Collection<Note> noteList) |
void |
NotesDialog.setNotes(java.util.Collection<Note> noteList)
Sets the list of notes to be displayed in the dialog.
|
Constructor and Description |
---|
NoteLayer(java.util.Collection<Note> notes,
java.lang.String name)
Create a new note layer with a set of notes
|
Modifier and Type | Field and Description |
---|---|
private Note |
NoteReader.Parser.thisNote |
Modifier and Type | Field and Description |
---|---|
java.util.List<Note> |
BoundingBoxDownloader.MoreNotesException.notes
The downloaded notes
|
private java.util.List<Note> |
NoteReader.Parser.notes |
private java.util.List<Note> |
NoteReader.parsedNotes |
Modifier and Type | Method and Description |
---|---|
Note |
OsmApi.addCommentToNote(Note note,
java.lang.String comment,
ProgressMonitor monitor)
Add a comment to an existing note.
|
Note |
OsmApi.closeNote(Note note,
java.lang.String closeMessage,
ProgressMonitor monitor)
Close a note.
|
Note |
OsmApi.createNote(LatLon latlon,
java.lang.String text,
ProgressMonitor monitor)
Create a new note on the server.
|
private Note |
OsmApi.parseSingleNote(java.lang.String xml)
Method for parsing API responses for operations on individual notes
|
Note |
OsmApi.reopenNote(Note note,
java.lang.String reactivateMessage,
ProgressMonitor monitor)
Reopen a closed note
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Note> |
OsmServerLocationReader.NoteParser.parse() |
java.util.List<Note> |
NoteReader.parse()
Parses the InputStream given to the constructor and returns
the resulting Note objects
|
java.util.List<Note> |
BoundingBoxDownloader.parseNotes(int noteLimit,
int daysClosed,
ProgressMonitor progressMonitor) |
java.util.List<Note> |
OsmServerReader.parseNotes(int noteLimit,
int daysClosed,
ProgressMonitor progressMonitor)
Downloads notes from the API, given API limit parameters
|
java.util.List<Note> |
OsmServerLocationReader.parseRawNotes(ProgressMonitor progressMonitor) |
java.util.List<Note> |
OsmServerReader.parseRawNotes(ProgressMonitor progressMonitor)
Downloads notes from a given raw URL.
|
java.util.List<Note> |
OsmServerLocationReader.parseRawNotesBzip2(ProgressMonitor progressMonitor) |
java.util.List<Note> |
OsmServerReader.parseRawNotesBzip2(ProgressMonitor progressMonitor)
Download notes from a URL that contains a bzip2 compressed notes dump file
|
Modifier and Type | Method and Description |
---|---|
Note |
OsmApi.addCommentToNote(Note note,
java.lang.String comment,
ProgressMonitor monitor)
Add a comment to an existing note.
|
Note |
OsmApi.closeNote(Note note,
java.lang.String closeMessage,
ProgressMonitor monitor)
Close a note.
|
private static java.lang.StringBuilder |
OsmApi.noteStringBuilder(Note note) |
Note |
OsmApi.reopenNote(Note note,
java.lang.String reactivateMessage,
ProgressMonitor monitor)
Reopen a closed note
|
Constructor and Description |
---|
MoreNotesException(java.util.List<Note> notes,
int limit) |