Uses of Interface
org.openstreetmap.josm.gui.progress.ProgressMonitor
-
Packages that use ProgressMonitor Package Description org.openstreetmap.josm.actions.downloadtasks Provides the classes for JOSMdownload tasks
.org.openstreetmap.josm.actions.upload Provides the classes for JOSMupload action
.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.validation Provides the classes for JOSM data validation.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.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.gui.io.importexport Provides GUI classes for handling file import/export operations.org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers.org.openstreetmap.josm.gui.oauth Provides GUI classes for handling OAuth authentication to OSM API.org.openstreetmap.josm.gui.progress Provides GUI classes for displaying long tasks background advancement in a progress bar, and a way to cancel them.org.openstreetmap.josm.gui.progress.swing Provides Swing-based progress monitor implementations.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.io.session Provides the classes for user sessions import/export.org.openstreetmap.josm.plugins Provides the classes for JOSM plugins system.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of ProgressMonitor in org.openstreetmap.josm.actions.downloadtasks
Fields in org.openstreetmap.josm.actions.downloadtasks declared as ProgressMonitor Modifier and Type Field Description private ProgressMonitor
DownloadTaskList. progressMonitor
Methods in org.openstreetmap.josm.actions.downloadtasks with parameters of type ProgressMonitor Modifier and Type Method Description private void
DownloadTaskList. addDownloadTask(ProgressMonitor progressMonitor, DownloadTask dt, Rectangle2D td, int i, int n)
Future<?>
AbstractChangesetDownloadTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadGeoJsonTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadGpsTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadNotesTask. download(long id, ProgressMonitor progressMonitor)
Download a specific note by its id.Future<?>
DownloadNotesTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadOsmChangeTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadOsmTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadOsmTask. download(OsmServerReader reader, DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Asynchronously launches the download task for a given bounding box.Future<?>
DownloadSessionTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Future<?>
DownloadTask. download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor)
Asynchronously launches the download task for a given bounding box.Future<?>
DownloadTaskList. download(boolean newLayer, Collection<Area> areas, boolean osmData, boolean gpxData, ProgressMonitor progressMonitor)
Downloads a list of areas from the OSM ServerFuture<?>
DownloadTaskList. download(boolean newLayer, List<Rectangle2D> rects, boolean osmData, boolean gpxData, ProgressMonitor progressMonitor)
Downloads a list of areas from the OSM Serverprotected void
DownloadReferrersTask. downloadParents(long id, OsmPrimitiveType type, ProgressMonitor progressMonitor)
Future<?>
AbstractChangesetDownloadTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadGeoJsonTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadGpsTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadNotesTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadNotesUrlBoundsTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadNotesUrlIdTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadOsmChangeTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadOsmIdTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadOsmTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Loads a given URL from the OSM ServerFuture<?>
DownloadOsmUrlTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadSessionTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Future<?>
DownloadTask. loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor)
Asynchronously launches the download task for a given bounding URL.Constructors in org.openstreetmap.josm.actions.downloadtasks with parameters of type ProgressMonitor Constructor Description AbstractInternalTask(DownloadParams settings, String title, ProgressMonitor progressMonitor, boolean ignoreException, boolean zoomAfterDownload)
Constructs a newAbstractInternalTask
.DownloadBoundingBoxTask(OsmServerReader reader, ProgressMonitor progressMonitor)
DownloadCompressedRawUrlTask(OsmServerReader reader, ProgressMonitor progressMonitor, Compression compression)
DownloadRawUrlTask(OsmServerReader reader, ProgressMonitor progressMonitor)
DownloadReferrersTask(OsmDataLayer targetLayer, PrimitiveId primitiveId, ProgressMonitor progressMonitor)
constructorDownloadTask(DownloadParams settings, OsmServerReader reader, ProgressMonitor progressMonitor)
DownloadTask(OsmServerReader reader, ProgressMonitor progressMonitor)
DownloadTask(DownloadParams settings, OsmServerReader reader, ProgressMonitor progressMonitor, boolean zoomAfterDownload, Compression compression)
Constructs a newDownloadTask
.DownloadTask(DownloadParams settings, OsmServerReader reader, ProgressMonitor progressMonitor)
Constructs a newDownloadTask
.DownloadTask(DownloadParams settings, OsmServerReader reader, ProgressMonitor progressMonitor, boolean zoomAfterDownload)
Constructs a newDownloadTask
.DownloadTask(DownloadParams settings, OsmServerReader reader, ProgressMonitor progressMonitor, boolean zoomAfterDownload, Compression compression)
Constructs a newDownloadTask
.InternalDownloadTask(DownloadParams settings, String url, ProgressMonitor progressMonitor)
-
Uses of ProgressMonitor in org.openstreetmap.josm.actions.upload
Methods in org.openstreetmap.josm.actions.upload with parameters of type ProgressMonitor Modifier and Type Method Description private void
UploadNotesTask.UploadTask. processNoteComment(ProgressMonitor monitor, OsmApi api, Note note, NoteComment comment)
void
UploadNotesTask. uploadNotes(NoteData noteData, ProgressMonitor progressMonitor)
Upload notes with modifications to the serverConstructors in org.openstreetmap.josm.actions.upload with parameters of type ProgressMonitor Constructor Description UploadTask(String title, ProgressMonitor monitor)
Constructs a newUploadTask
. -
Uses of ProgressMonitor in org.openstreetmap.josm.data.osm
Methods in org.openstreetmap.josm.data.osm with parameters of type ProgressMonitor Modifier and Type Method Description void
DataSetMerger. merge(ProgressMonitor progressMonitor)
Runs the merge operation.void
DataSetMerger. merge(ProgressMonitor progressMonitor, boolean mergeBounds)
Runs the merge operation.void
DataSet. mergeFrom(DataSet from, ProgressMonitor progressMonitor)
Moves all primitives and datasources from DataSet "from" to this DataSet. -
Uses of ProgressMonitor in org.openstreetmap.josm.data.validation
Fields in org.openstreetmap.josm.data.validation declared as ProgressMonitor Modifier and Type Field Description protected ProgressMonitor
Test. progressMonitor
the progress monitor to useMethods in org.openstreetmap.josm.data.validation with parameters of type ProgressMonitor Modifier and Type Method Description void
Test. startTest(ProgressMonitor progressMonitor)
Start the test using a given progress monitorConstructors in org.openstreetmap.josm.data.validation with parameters of type ProgressMonitor Constructor Description ValidationTask(ProgressMonitor progressMonitor, Collection<Test> tests, Collection<OsmPrimitive> validatedPrimitives, Collection<OsmPrimitive> formerValidatedPrimitives)
-
Uses of ProgressMonitor in org.openstreetmap.josm.data.validation.tests
Methods in org.openstreetmap.josm.data.validation.tests with parameters of type ProgressMonitor Modifier and Type Method Description void
Coastlines. startTest(ProgressMonitor monitor)
void
CrossingWays. startTest(ProgressMonitor monitor)
void
DuplicateNode. startTest(ProgressMonitor monitor)
void
DuplicateRelation. startTest(ProgressMonitor monitor)
void
DuplicateWay. startTest(ProgressMonitor monitor)
void
LongSegment. startTest(ProgressMonitor monitor)
void
MapCSSTagChecker. startTest(ProgressMonitor progressMonitor)
void
OverlappingWays. startTest(ProgressMonitor monitor)
void
PowerLines. startTest(ProgressMonitor progressMonitor)
void
RelationChecker. startTest(ProgressMonitor progressMonitor)
void
RightAngleBuildingTest. startTest(ProgressMonitor monitor)
void
SimilarNamedWays. startTest(ProgressMonitor monitor)
void
TagChecker. startTest(ProgressMonitor monitor)
void
UnconnectedWays. startTest(ProgressMonitor monitor)
void
UntaggedWay. startTest(ProgressMonitor monitor)
-
Uses of ProgressMonitor in org.openstreetmap.josm.gui
Classes in org.openstreetmap.josm.gui that implement ProgressMonitor Modifier and Type Class Description static class
SplashScreen.SplashProgressMonitor
AProgressMonitor
which stores the (sub)tasks in a tree.Fields in org.openstreetmap.josm.gui declared as ProgressMonitor Modifier and Type Field Description protected ProgressMonitor
PleaseWaitRunnable. progressMonitor
progress monitorMethods in org.openstreetmap.josm.gui that return ProgressMonitor Modifier and Type Method Description ProgressMonitor
SplashScreen.SplashProgressMonitor. createSubTaskMonitor(int ticks, boolean internal)
ProgressMonitor
PleaseWaitRunnable. getProgressMonitor()
Relies the progress monitor.Constructors in org.openstreetmap.josm.gui with parameters of type ProgressMonitor Constructor Description PleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException)
Create the runnable object with a given message for the user -
Uses of ProgressMonitor in org.openstreetmap.josm.gui.history
Methods in org.openstreetmap.josm.gui.history with parameters of type ProgressMonitor Modifier and Type Method Description protected static HistoryDataSet
HistoryLoadTask. loadHistory(OsmServerHistoryReader reader, ProgressMonitor progressMonitor)
-
Uses of ProgressMonitor in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as ProgressMonitor Modifier and Type Field Description private ProgressMonitor
SaveLayersDialog.SaveAndUploadTask. monitor
private ProgressMonitor
UploadLayerTask. monitor
private ProgressMonitor
UploadNoteLayerTask. monitor
private ProgressMonitor
SaveLayerTask. parentMonitor
Methods in org.openstreetmap.josm.gui.io with parameters of type ProgressMonitor Modifier and Type Method Description protected void
UploadPrimitivesTask. recoverFromGoneOnServer(OsmApiPrimitiveGoneException e, ProgressMonitor monitor)
Retries to recover the upload operation from an exception which was thrown because an uploaded primitive was already deleted on the server.Constructors in org.openstreetmap.josm.gui.io with parameters of type ProgressMonitor Constructor Description AbstractPrimitiveTask(String title, ProgressMonitor progressMonitor, OsmDataLayer layer)
AbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException)
Constructs a newAbstractUploadTask
.DownloadFromOverpassTask(String request, DataSet ds, ProgressMonitor monitor)
ConstructorDownloadPrimitivesTask(OsmDataLayer layer, List<PrimitiveId> ids, boolean fullRelation, ProgressMonitor progressMonitor)
Constructs a newDownloadPrimitivesTask
.DownloadPrimitivesWithReferrersTask(boolean newLayer, List<PrimitiveId> ids, boolean downloadReferrers, boolean full, String newLayerName, ProgressMonitor monitor)
ConstructorSaveAndUploadTask(SaveLayersModel model, ProgressMonitor monitor)
SaveLayerTask(SaveLayerInfo layerInfo, ProgressMonitor monitor)
UploadLayerTask(UploadStrategySpecification strategy, OsmDataLayer layer, ProgressMonitor monitor, Changeset changeset)
Creates the upload taskUploadNoteLayerTask(NoteLayer layer, ProgressMonitor monitor)
Creates the upload task. -
Uses of ProgressMonitor in org.openstreetmap.josm.gui.io.importexport
Methods in org.openstreetmap.josm.gui.io.importexport with parameters of type ProgressMonitor Modifier and Type Method Description (package private) static void
ImageImporter. addRecursiveFiles(List<File> files, Set<String> visitedDirs, List<File> sel, ProgressMonitor progressMonitor)
(package private) static void
ImageImporter. addRecursiveFiles(Set<Options> options, List<File> files, Set<String> visitedDirs, List<File> sel, ProgressMonitor progressMonitor)
void
FileImporter. importData(File file, ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false.void
FileImporter. importData(List<File> files, ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns true.void
GeoJSONImporter. importData(File file, ProgressMonitor progressMonitor)
void
GpxImporter. importData(File file, ProgressMonitor progressMonitor)
void
GpxLikeImporter. importData(File file, ProgressMonitor progressMonitor)
void
ImageImporter. importData(List<File> sel, ProgressMonitor progressMonitor)
void
NoteImporter. importData(File file, ProgressMonitor progressMonitor)
void
OsmChangeImporter. importData(File file, ProgressMonitor progressMonitor)
protected void
OsmChangeImporter. importData(InputStream in, File associatedFile, ProgressMonitor progressMonitor)
void
OsmImporter. importData(File file, ProgressMonitor progressMonitor)
Imports OSM data from fileprotected void
OsmImporter. importData(InputStream in, File associatedFile, ProgressMonitor pm)
Imports OSM data from streamvoid
WMSLayerImporter. importData(File file, ProgressMonitor progressMonitor)
boolean
FileImporter. importDataHandleExceptions(File f, ProgressMonitor progressMonitor)
Wrapper toFileImporter.importData(File, ProgressMonitor)
to give meaningful output if things go wrong.boolean
FileImporter. importDataHandleExceptions(List<File> files, ProgressMonitor progressMonitor)
Wrapper toFileImporter.importData(List, ProgressMonitor)
to give meaningful output if things go wrong.NoteLayer
NoteImporter. loadLayer(InputStream in, File associatedFile, String layerName, ProgressMonitor progressMonitor)
Load note layer from InputStream.OsmImporter.OsmImporterData
OsmImporter. loadLayer(InputStream in, File associatedFile, String layerName, ProgressMonitor progressMonitor)
Load osm data layer from InputStream.static GpxImporter.GpxImporterData
GpxImporter. loadLayers(InputStream is, File associatedFile, String gpxLayerName, ProgressMonitor progressMonitor)
Replies the new GPX and marker layers corresponding to the specified GPX file.protected DataSet
OsmImporter. parseDataSet(InputStream in, ProgressMonitor progressMonitor)
-
Uses of ProgressMonitor in org.openstreetmap.josm.gui.layer
Fields in org.openstreetmap.josm.gui.layer declared as ProgressMonitor Modifier and Type Field Description private ProgressMonitor
AbstractTileSourceLayer.PrecacheTask. progressMonitor
Methods in org.openstreetmap.josm.gui.layer with parameters of type ProgressMonitor Modifier and Type Method Description AbstractIOTask
AbstractModifiableLayer. createUploadTask(ProgressMonitor monitor)
AbstractIOTask
NoteLayer. createUploadTask(ProgressMonitor monitor)
AbstractIOTask
OsmDataLayer. createUploadTask(ProgressMonitor monitor)
AbstractIOTask
UploadToServer. createUploadTask(ProgressMonitor monitor)
Creates a newAbstractIOTask
for uploading data.AbstractTileSourceLayer.PrecacheTask
AbstractTileSourceLayer. getDownloadAreaToCacheTask(ProgressMonitor progressMonitor, List<LatLon> points, double bufferX, double bufferY)
Calculates tiles, that needs to be downloaded to cache, gets a current tile loader and creates a task to download all of the tiles.void
OsmDataLayer. mergeFrom(DataSet from, ProgressMonitor progressMonitor)
merges the primitives in datasetfrom
into the dataset of this layerConstructors in org.openstreetmap.josm.gui.layer with parameters of type ProgressMonitor Constructor Description PrecacheTask(ProgressMonitor progressMonitor, List<LatLon> points, double bufferX, double bufferY)
Constructs a newPrecacheTask
. -
Uses of ProgressMonitor in org.openstreetmap.josm.gui.oauth
Methods in org.openstreetmap.josm.gui.oauth with parameters of type ProgressMonitor Modifier and Type Method Description void
OsmOAuthAuthorizationClient. authorise(OAuthToken requestToken, String userName, String password, OsmPrivileges privileges, ProgressMonitor monitor)
Automatically authorises a request token for a set of privileges.OAuthToken
OsmOAuthAuthorizationClient. getAccessToken(ProgressMonitor monitor)
Submits a request for an Access Token to the Access Token Endpoint Url of the OAuth Service Provider and replies the request token.OAuthToken
OsmOAuthAuthorizationClient. getRequestToken(ProgressMonitor monitor)
Submits a request for a Request Token to the Request Token Endpoint Url of the OAuth Service Provider and replies the request token. -
Uses of ProgressMonitor in org.openstreetmap.josm.gui.progress
Classes in org.openstreetmap.josm.gui.progress that implement ProgressMonitor Modifier and Type Class Description class
AbstractProgressMonitor
This class contains the progress logic required to implement aProgressMonitor
.class
ChildProgress
The progress of a sub taskclass
NullProgressMonitor
A singleton progress monitor that does nothing.Fields in org.openstreetmap.josm.gui.progress declared as ProgressMonitor Modifier and Type Field Description static ProgressMonitor
NullProgressMonitor. INSTANCE
The unique instanceMethods in org.openstreetmap.josm.gui.progress that return ProgressMonitor Modifier and Type Method Description ProgressMonitor
AbstractProgressMonitor. createSubTaskMonitor(int ticks, boolean internal)
ProgressMonitor
NullProgressMonitor. createSubTaskMonitor(int ticks, boolean internal)
ProgressMonitor
ProgressMonitor. createSubTaskMonitor(int ticks, boolean internal)
Creates subtasks monitor. -
Uses of ProgressMonitor in org.openstreetmap.josm.gui.progress.swing
Classes in org.openstreetmap.josm.gui.progress.swing that implement ProgressMonitor Modifier and Type Class Description class
PleaseWaitProgressMonitor
A progress monitor used inPleaseWaitRunnable
.class
SwingRenderingProgressMonitor
SwingRenderingProgressMonitor is progress monitor which delegates the rendering of progress information to aProgressRenderer
. -
Uses of ProgressMonitor in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as ProgressMonitor Modifier and Type Field Description private ProgressMonitor
OsmApi.CapabilitiesCache. monitor
private ProgressMonitor
MultiFetchServerObjectReader.Fetcher. progressMonitor
protected ProgressMonitor
OsmServerLocationReader.Parser. progressMonitor
private ProgressMonitor
StreamProgressUpdater. progressMonitor
Methods in org.openstreetmap.josm.io with parameters of type ProgressMonitor Modifier and Type Method Description void
OsmApi. addCommentToChangeset(Changeset changeset, String comment, ProgressMonitor monitor)
Adds a comment to the discussion of a closed changeset.Note
OsmApi. addCommentToNote(Note note, String comment, ProgressMonitor monitor)
Add a comment to an existing note.protected void
AbstractReader. callPostProcessors(ProgressMonitor progressMonitor)
Iterate over registered postprocessors and give them each a chance to modify the dataset we have just loaded.private void
MultiFetchServerObjectReader. checkMissing(DataSet ds, ProgressMonitor progressMonitor)
Workaround for difference in Overpass API.void
OsmApi. closeChangeset(Changeset changeset, ProgressMonitor monitor)
Closes a changeset on the server.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.void
OsmApi. createPrimitive(IPrimitive osm, ProgressMonitor monitor)
Creates an OSM primitive on the server.void
OsmApi. deletePrimitive(OsmPrimitive osm, ProgressMonitor monitor)
Deletes an OSM primitive on the server.protected <T> T
OsmServerLocationReader. doParse(OsmServerLocationReader.Parser<T> parser, ProgressMonitor progressMonitor)
protected abstract DataSet
AbstractReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
protected DataSet
AbstractReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor, AbstractReader.ParserWorker parserWorker)
protected DataSet
GeoJSONReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
protected DataSet
OsmJsonReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
protected DataSet
OsmReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
ChangesetDataSet
OsmServerChangesetReader. downloadChangeset(int id, ProgressMonitor monitor)
Downloads the content of a changesetprivate GpxData
BoundingBoxDownloader. downloadRawGps(Bounds b, ProgressMonitor progressMonitor)
private void
MultiFetchServerObjectReader. downloadRelations(ProgressMonitor progressMonitor)
Finds best way to download a set of relations.void
OsmServerWriter. executePostprocessors(ProgressMonitor pm)
Calls all registered upload postprocessors.protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. fetch(ProgressMonitor progressMonitor)
fetches the requested primitives and updates the specified progress monitor.<T> T
OsmServerReader. fetchData(String api, String subtask, OsmServerReader.DomParser<T> parser, ProgressMonitor monitor, String reason)
Fetches generic data from the DOM document resulting an API call.protected void
MultiFetchServerObjectReader. fetchPrimitives(Set<Long> ids, OsmPrimitiveType type, ProgressMonitor progressMonitor)
fetches a set of ids of a givenOsmPrimitiveType
from the serverUserInfo
OsmServerUserInfoReader. fetchUserInfo(ProgressMonitor monitor)
Fetches user info, without explicit reason.UserInfo
OsmServerUserInfoReader. fetchUserInfo(ProgressMonitor monitor, String reason)
Fetches user info, with an explicit reason.Map<String,String>
OsmServerUserPreferencesReader. fetchUserPreferences(ProgressMonitor monitor)
Fetches user preferences, without explicit reason.Map<String,String>
OsmServerUserPreferencesReader. fetchUserPreferences(ProgressMonitor monitor, String reason)
Fetches user info, with an explicit reason.protected InputStream
OsmServerChangesetReader. getChangesetInputStream(long id, boolean includeDiscussion, ProgressMonitor monitor)
protected InputStream
OsmServerReader. getInputStream(String urlStr, ProgressMonitor progressMonitor)
Open a connection to the given url and return a reader on the input stream from that connection.protected InputStream
OsmServerReader. getInputStream(String urlStr, ProgressMonitor progressMonitor, String reason)
Open a connection to the given url and return a reader on the input stream from that connection.protected InputStream
OsmServerReader. getInputStreamRaw(String urlStr, ProgressMonitor progressMonitor)
Open a connection to the given url and return a reader on the input stream from that connection.protected InputStream
OsmServerReader. getInputStreamRaw(String urlStr, ProgressMonitor progressMonitor, String reason)
Open a connection to the given url and return a reader on the input stream from that connection.protected InputStream
OsmServerReader. getInputStreamRaw(String urlStr, ProgressMonitor progressMonitor, String reason, boolean uncompressAccordingToContentDisposition)
Open a connection to the given url (if HTTP, trough a GET request) and return a reader on the input stream from that connection.protected InputStream
OsmServerReader. getInputStreamRaw(String urlStr, ProgressMonitor progressMonitor, String reason, boolean uncompressAccordingToContentDisposition, String httpMethod, byte[] requestBody)
Open a connection to the given url (if HTTP, with the specified method) and return a reader on the input stream from that connection.protected InputStream
OverpassDownloadReader. getInputStreamRaw(String urlStr, ProgressMonitor progressMonitor, String reason, boolean uncompressAccordingToContentDisposition)
private DataSet
OsmServerBackreferenceReader. getReferringPrimitives(ProgressMonitor progressMonitor, String type, String message)
protected DataSet
OsmServerBackreferenceReader. getReferringRelations(ProgressMonitor progressMonitor)
Reads referring relations from the API server and replies them in aDataSet
protected DataSet
OsmServerBackreferenceReader. getReferringWays(ProgressMonitor progressMonitor)
Reads referring ways from the API server and replies them in aDataSet
private void
OsmApi. individualPrimitiveModification(String method, String verb, IPrimitive osm, ProgressMonitor monitor, Consumer<String> consumer, UnaryOperator<String> errHandler)
void
OsmApi. initialize(ProgressMonitor monitor)
Initializes this component by negotiating a protocol version with the server.void
OsmApi. initialize(ProgressMonitor monitor, boolean fastFail)
Initializes this component by negotiating a protocol version with the server, with the ability to control the timeout.(package private) void
OsmServerWriter. makeApiRequest(OsmPrimitive osm, ProgressMonitor progressMonitor)
void
OsmApi. modifyPrimitive(IPrimitive osm, ProgressMonitor monitor)
Modifies an OSM primitive on the server.protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. multiGetIdPackage(OsmPrimitiveType type, Set<Long> pkg, ProgressMonitor progressMonitor)
invokes a Multi Get for a set of ids and a givenOsmPrimitiveType
.void
OsmApi. openChangeset(Changeset changeset, ProgressMonitor progressMonitor)
Creates a new changeset based on the keys inchangeset
.void
DiffResultProcessor. parse(String diffUploadResponse, ProgressMonitor progressMonitor)
Parse the response from a diff upload to the OSM API.ChangesetDataSet
OsmChangesetContentParser. parse(ProgressMonitor progressMonitor)
Parses the content.ChangesetDataSet
OsmChangesetContentParser. parse(ProgressMonitor progressMonitor, boolean useAnonymousUser)
Parses the content.static List<Changeset>
OsmChangesetParser. parse(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the list of changesetsHistoryDataSet
OsmHistoryReader. parse(ProgressMonitor progressMonitor)
Parses the content.protected DataSet
BoundingBoxDownloader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
GeoJSONReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmChangeReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmJsonReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor, OsmReader.Options... options)
Parse the given input source and return the dataset.protected DataSet
OverpassDownloadReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
static Pair<DataSet,NoteData>
OsmChangeReader. parseDataSetAndNotes(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset and notes, if any (OsmAnd extends the osmChange format by adding notes).HistoryDataSet
OsmServerHistoryReader. parseHistory(ProgressMonitor progressMonitor)
Fetches the history from the OSM API and parses itList<Note>
BoundingBoxDownloader. parseNotes(int noteLimit, int daysClosed, ProgressMonitor progressMonitor)
List<Note>
OsmServerReader. parseNotes(int noteLimit, int daysClosed, ProgressMonitor progressMonitor)
Downloads notes from the API, given API limit parametersDataSet
BoundingBoxDownloader. parseOsm(ProgressMonitor progressMonitor)
DataSet
GeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
GeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
DataSet
MultiFetchServerObjectReader.Fetcher. parseOsm(ProgressMonitor progressMonitor)
DataSet
MultiFetchServerObjectReader. parseOsm(ProgressMonitor progressMonitor)
invokes one or more Multi Gets to fetch theOsmPrimitive
s and replies the dataset of retrieved primitives.DataSet
OsmServerBackreferenceReader. parseOsm(ProgressMonitor progressMonitor)
Reads the referring primitives from the OSM server, parses them and replies them asDataSet
DataSet
OsmServerChangesetReader. parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!DataSet
OsmServerHistoryReader. parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!DataSet
OsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
DataSet
OsmServerObjectReader. parseOsm(ProgressMonitor progressMonitor)
Downloads and parses the data.abstract DataSet
OsmServerReader. parseOsm(ProgressMonitor progressMonitor)
Download OSM files from somewhereDataSet
OsmServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
Download compressed OSM files from somewhereDataSet
OsmServerUserInfoReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerUserPreferencesReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OverpassDownloadReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)
DataSet
OsmServerReader. parseOsmChange(ProgressMonitor progressMonitor)
Download OSM Change uncompressed files from somewhereDataSet
OsmServerReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)
Download OSM Change compressed files from somewhereGpxData
BoundingBoxDownloader. parseRawGps(ProgressMonitor progressMonitor)
GpxData
OsmServerLocationReader. parseRawGps(ProgressMonitor progressMonitor)
GpxData
OsmServerLocationReader. parseRawGps(ProgressMonitor progressMonitor, Compression compression)
GpxData
OsmServerReader. parseRawGps(ProgressMonitor progressMonitor)
Retrieve raw gps waypoints from the server API.GpxData
OsmServerReader. parseRawGps(ProgressMonitor progressMonitor, Compression compression)
Retrieve compressed GPX files from somewhere.List<Note>
OsmServerLocationReader. parseRawNotes(ProgressMonitor progressMonitor)
List<Note>
OsmServerLocationReader. parseRawNotes(ProgressMonitor progressMonitor, Compression compression)
List<Note>
OsmServerReader. parseRawNotes(ProgressMonitor progressMonitor)
Downloads notes from a given raw URL.List<Note>
OsmServerReader. parseRawNotes(ProgressMonitor progressMonitor, Compression compression)
Download notes from a URL that contains a compressed notes dump fileprotected Set<OsmPrimitive>
DiffResultProcessor. postProcess(Changeset cs, ProgressMonitor monitor)
Postprocesses the diff result read and parsed from the server.void
OsmServerReadPostprocessor. postprocessDataSet(DataSet ds, ProgressMonitor progress)
Execute the post processor.void
OsmServerWritePostprocessor. postprocessUploadedPrimitives(Collection<OsmPrimitive> p, ProgressMonitor progress)
List<Changeset>
OsmServerChangesetReader. queryChangesets(ChangesetQuery query, ProgressMonitor monitor)
Queries a listChangeset
OsmServerChangesetReader. readChangeset(long id, boolean includeDiscussion, ProgressMonitor monitor)
Reads the changeset with idid
from the server.List<Changeset>
OsmServerChangesetReader. readChangesets(Collection<Integer> ids, boolean includeDiscussion, ProgressMonitor monitor)
Reads the changesets with idids
from the server.protected DataSet
OsmServerBackreferenceReader. readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor)
Scans a dataset for incomplete primitives.Note
OsmApi. reopenNote(Note note, String reactivateMessage, ProgressMonitor monitor)
Reopen a closed noteprotected String
OsmApi. sendPostRequest(String urlSuffix, String requestBody, ProgressMonitor monitor)
protected String
OsmApi. sendPutRequest(String urlSuffix, String requestBody, ProgressMonitor monitor)
protected String
OsmApi. sendRequest(String requestMethod, String urlSuffix, String requestBody, ProgressMonitor monitor)
protected String
OsmApi. sendRequest(String requestMethod, String urlSuffix, String requestBody, ProgressMonitor monitor, boolean doAuthenticate, boolean fastFail)
protected String
OsmApi. sendRequest(String requestMethod, String urlSuffix, String requestBody, ProgressMonitor monitor, String contentType, boolean doAuthenticate, boolean fastFail)
Generic method for sending requests to the OSM API.protected DataSet
MultiFetchServerObjectReader.Fetcher. singleGetId(OsmPrimitiveType type, long id, ProgressMonitor progressMonitor)
invokes a Multi Get for a single id and a givenOsmPrimitiveType
.protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. singleGetIdPackage(OsmPrimitiveType type, Set<Long> pkg, ProgressMonitor progressMonitor)
invokes a sequence of Multi Gets for individual ids in a set of ids and a givenOsmPrimitiveType
.private void
OsmApi. sleepAndListen(int retry, ProgressMonitor monitor)
void
OsmApi. updateChangeset(Changeset changeset, ProgressMonitor monitor)
Updates a changeset with the keys inchangesetUpdate
.protected void
OsmServerWriter. uploadChangesAsDiffUpload(Collection<? extends OsmPrimitive> primitives, ProgressMonitor progressMonitor)
Upload all changes in one diff uploadprotected void
OsmServerWriter. uploadChangesInChunks(Collection<? extends OsmPrimitive> primitives, ProgressMonitor progressMonitor, int chunkSize)
Upload all changes in one diff uploadprotected void
OsmServerWriter. uploadChangesIndividually(Collection<? extends OsmPrimitive> primitives, ProgressMonitor progressMonitor)
Uploads the changes individually.Collection<OsmPrimitive>
OsmApi. uploadDiff(Collection<? extends OsmPrimitive> list, ProgressMonitor monitor)
Uploads a list of changes in "diff" form to the server.void
OsmServerWriter. uploadOsm(UploadStrategySpecification strategy, Collection<? extends OsmPrimitive> primitives, Changeset changeset, ProgressMonitor monitor)
Send the dataset to the server.Constructors in org.openstreetmap.josm.io with parameters of type ProgressMonitor Constructor Description CapabilitiesCache(ProgressMonitor monitor, boolean fastFail)
Fetcher(OsmPrimitiveType type, Set<Long> idsPackage, ProgressMonitor progressMonitor)
Constructs aFetcher
GeoJsonParser(ProgressMonitor progressMonitor, Compression compression)
GpxParser(ProgressMonitor progressMonitor, Compression compression)
NoteParser(ProgressMonitor progressMonitor, Compression compression)
OsmChangeParser(ProgressMonitor progressMonitor, Compression compression)
OsmParser(ProgressMonitor progressMonitor, Compression compression)
Parser(ProgressMonitor progressMonitor, Compression compression)
ProgressInputStream(InputStream in, long size, ProgressMonitor progressMonitor)
Constructs a newProgressInputStream
.ProgressOutputStream(OutputStream out, long size, ProgressMonitor progressMonitor, boolean finishOnClose)
Constructs a newProgressOutputStream
.ProgressOutputStream(OutputStream out, long size, ProgressMonitor progressMonitor, String message, boolean finishOnClose)
Constructs a newProgressOutputStream
.StreamProgressUpdater(long size, ProgressMonitor progressMonitor, String taskTitle)
-
Uses of ProgressMonitor in org.openstreetmap.josm.io.session
Methods in org.openstreetmap.josm.io.session with parameters of type ProgressMonitor Modifier and Type Method Description static Layer
OsmDataSessionImporter. importData(OsmImporter osmImporter, SessionReader.ImportSupport support, String fileStr, ProgressMonitor progressMonitor)
Import data as a new layer.void
SessionImporter. importData(File file, ProgressMonitor progressMonitor)
Layer
GeoImageSessionImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Layer
GpxTracksSessionImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Layer
ImagerySessionImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Layer
MarkerSessionImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Layer
NoteSessionImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Layer
OsmDataSessionImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Layer
SessionLayerImporter. load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)
Load the layer from xml meta-data.void
SessionReader. loadSession(File sessionFile, boolean zip, ProgressMonitor progressMonitor)
Loads session from the given file.void
SessionReader. loadSession(InputStream josIS, URI sessionFileURI, boolean zip, ProgressMonitor progressMonitor)
Loads session from the given input stream.private void
SessionReader. parseJos(Document doc, ProgressMonitor progressMonitor)
void
SessionReader.CancelOrContinueDialog. show(String title, String message, int icon, ProgressMonitor progressMonitor)
-
Uses of ProgressMonitor in org.openstreetmap.josm.plugins
Methods in org.openstreetmap.josm.plugins with parameters of type ProgressMonitor Modifier and Type Method Description static List<PluginInformation>
PluginHandler. buildListOfPluginsToLoad(Component parent, ProgressMonitor monitor)
Builds the set of plugins to load.private static void
ReadRemotePluginInformationTask. displayErrorMessage(ProgressMonitor monitor, String msg, String details, String title, String firstMessage)
protected String
ReadRemotePluginInformationTask. downloadPluginList(String site, ProgressMonitor monitor)
Downloads the list from a remote locationprivate void
ReadRemotePluginInformationTask. handleIOException(ProgressMonitor monitor, IOException e, String details)
static void
PluginHandler. loadEarlyPlugins(Component parent, Collection<PluginInformation> plugins, ProgressMonitor monitor)
Loads plugins fromplugins
which have the flagPluginInformation.early
set to true and a non-negativePluginInformation.stage
value.static void
PluginHandler. loadLatePlugins(Component parent, Collection<PluginInformation> plugins, ProgressMonitor monitor)
Loads plugins fromplugins
which have the flagPluginInformation.early
set to false.private static Map<String,PluginInformation>
PluginHandler. loadLocallyAvailablePluginInformation(ProgressMonitor monitor)
Loads locally available plugin information from local plugin jars and from cached plugin lists.static void
PluginHandler. loadPlugins(Component parent, Collection<PluginInformation> plugins, ProgressMonitor monitor)
Loads the plugin inplugins
from locally available jar files into memory.protected void
ReadLocalPluginInformationTask. scanLocalPluginRepository(ProgressMonitor progressMonitor, File pluginsDirectory)
protected void
ReadLocalPluginInformationTask. scanPluginFiles(ProgressMonitor monitor, File pluginsDirectory)
protected void
ReadLocalPluginInformationTask. scanSiteCacheFiles(ProgressMonitor monitor, File pluginsDirectory)
static Collection<PluginInformation>
PluginHandler. updatePlugins(Component parent, Collection<PluginInformation> pluginsWanted, ProgressMonitor monitor, boolean displayErrMsg)
Updates the plugins inplugins
.Constructors in org.openstreetmap.josm.plugins with parameters of type ProgressMonitor Constructor Description PluginDownloadTask(ProgressMonitor monitor, Collection<PluginInformation> toUpdate, String title)
Creates the taskReadLocalPluginInformationTask(ProgressMonitor monitor)
Constructs a newReadLocalPluginInformationTask
.ReadRemotePluginInformationTask(ProgressMonitor monitor, Collection<String> sites, boolean displayErrMsg)
Constructs a newReadRemotePluginInformationTask
. -
Uses of ProgressMonitor in org.openstreetmap.josm.tools
Fields in org.openstreetmap.josm.tools declared as ProgressMonitor Modifier and Type Field Description private ProgressMonitor
HttpClient.Response. monitor
Methods in org.openstreetmap.josm.tools with parameters of type ProgressMonitor Modifier and Type Method Description protected HttpClient.Response
Http1Client. buildResponse(ProgressMonitor progressMonitor)
protected abstract HttpClient.Response
HttpClient. buildResponse(ProgressMonitor progressMonitor)
HttpClient.Response
HttpClient. connect(ProgressMonitor progressMonitor)
Opens the HTTP connection.protected void
HttpClient. notifyConnect(ProgressMonitor progressMonitor)
protected void
Http1Client. setupConnection(ProgressMonitor progressMonitor)
protected abstract void
HttpClient. setupConnection(ProgressMonitor progressMonitor)
Constructors in org.openstreetmap.josm.tools with parameters of type ProgressMonitor Constructor Description Http1Response(HttpURLConnection connection, ProgressMonitor progressMonitor)
Response(ProgressMonitor monitor, int responseCode, String responseMessage)
-