Modifier and Type | Field and Description |
---|---|
protected List<Note> |
DownloadNotesTask.DownloadTask.notesData |
Modifier and Type | Field and Description |
---|---|
(package private) Map<Note,Exception> |
UploadNotesTask.UploadTask.failedNotes |
(package private) Map<Note,Note> |
UploadNotesTask.UploadTask.updatedNotes |
(package private) 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 Comparator<Note> |
NoteData.comparator |
static Comparator<Note> |
NoteData.DATE_COMPARATOR
Sorts notes strictly by creation date
|
static 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 Comparator<Note> |
NoteData.LAST_ACTION_COMPARATOR
Sorts notes by the last modified date
|
private List<Note> |
NoteData.noteList |
static 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 |
---|---|
Comparator<Note> |
NoteData.getCurrentSortMethod() |
List<Note> |
NoteData.getNotes()
Returns the notes stored in this layer
|
Modifier and Type | Method and Description |
---|---|
void |
NoteData.addCommentToNote(Note note,
String text)
Add a new comment to an existing note
|
void |
NoteData.closeNote(Note note,
String text)
Close note with comment
|
void |
NoteData.reOpenNote(Note note,
String text)
Reopen a closed note.
|
void |
NoteData.setSelectedNote(Note note)
Set a selected note.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteData.addNotes(List<Note> newNotes)
Add notes to the data set.
|
void |
NoteData.setSortMethod(Comparator<Note> comparator)
Set the comparator to be used to sort the note list.
|
void |
NoteData.updateNotes(Map<Note,Note> updatedNotes)
Updates notes with new state.
|
void |
NoteData.updateNotes(Map<Note,Note> updatedNotes)
Updates notes with new state.
|
Constructor and Description |
---|
NoteData(List<Note> notes)
Construct a new note container with a given list of notes
|
Modifier and Type | Method and Description |
---|---|
Comparator<Note> |
NoteSortDialog.getSelectedComparator() |
Modifier and Type | Method and Description |
---|---|
void |
NoteSortDialog.showSortDialog(Comparator<Note> currentSortMode)
Builds and displays the window to the user.
|
Modifier and Type | Field and Description |
---|---|
private List<Note> |
NotesDialog.NoteTableModel.data |
private JList<Note> |
NotesDialog.displayList |
Modifier and Type | Method and Description |
---|---|
Note |
NotesDialog.NoteTableModel.getElementAt(int index) |
Modifier and Type | Method and Description |
---|---|
Component |
NotesDialog.NoteRenderer.getListCellRendererComponent(JList<? extends Note> list,
Note note,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
Component |
NotesDialog.NoteRenderer.getListCellRendererComponent(JList<? extends Note> list,
Note note,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
NotesDialog.NoteTableModel.setData(List<Note> noteList) |
void |
NotesDialog.setNoteList(List<Note> noteList)
Sets the list of notes to be displayed in the dialog.
|
Constructor and Description |
---|
NoteLayer(List<Note> notes,
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 |
---|---|
private List<Note> |
NoteReader.Parser.notes |
private List<Note> |
NoteReader.parsedNotes |
Modifier and Type | Method and Description |
---|---|
Note |
OsmApi.addCommentToNote(Note note,
String comment,
ProgressMonitor monitor)
Add a comment to an existing note.
|
Note |
OsmApi.closeNote(Note note,
String closeMessage,
ProgressMonitor monitor)
Close a note.
|
Note |
OsmApi.createNote(LatLon latlon,
String text,
ProgressMonitor monitor)
Create a new note on the server.
|
private Note |
OsmApi.parseSingleNote(String xml)
Method for parsing API responses for operations on individual notes
|
Note |
OsmApi.reopenNote(Note note,
String reactivateMessage,
ProgressMonitor monitor)
Reopen a closed note
|
Modifier and Type | Method and Description |
---|---|
List<Note> |
NoteReader.parse()
Parses the InputStream given to the constructor and returns
the resulting Note objects
|
List<Note> |
OsmServerLocationReader.NoteParser.parse() |
List<Note> |
OsmServerReader.parseNotes(Integer noteLimit,
Integer daysClosed,
ProgressMonitor progressMonitor)
Downloads notes from the API, given API limit parameters
|
List<Note> |
BoundingBoxDownloader.parseNotes(Integer noteLimit,
Integer daysClosed,
ProgressMonitor progressMonitor) |
List<Note> |
OsmServerReader.parseRawNotes(ProgressMonitor progressMonitor)
Downloads notes from a given raw URL.
|
List<Note> |
OsmServerLocationReader.parseRawNotes(ProgressMonitor progressMonitor) |
List<Note> |
OsmServerReader.parseRawNotesBzip2(ProgressMonitor progressMonitor)
Download notes from a URL that contains a bzip2 compressed notes dump file
|
List<Note> |
OsmServerLocationReader.parseRawNotesBzip2(ProgressMonitor progressMonitor) |
Modifier and Type | Method and Description |
---|---|
Note |
OsmApi.addCommentToNote(Note note,
String comment,
ProgressMonitor monitor)
Add a comment to an existing note.
|
Note |
OsmApi.closeNote(Note note,
String closeMessage,
ProgressMonitor monitor)
Close a note.
|
private static StringBuilder |
OsmApi.noteStringBuilder(Note note) |
Note |
OsmApi.reopenNote(Note note,
String reactivateMessage,
ProgressMonitor monitor)
Reopen a closed note
|