Changeset 34151 in osm for applications/editors/josm/plugins/opendata/src/org
- Timestamp:
- 2018-04-08T15:09:55+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleDownloadTask.java
r33518 r34151 17 17 18 18 import org.openstreetmap.josm.data.Version; 19 import org.openstreetmap.josm.gui.PleaseWaitDialog; 19 20 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 20 21 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; … … 28 29 * Asynchronous task for downloading a collection of modules. 29 30 * 30 * When the task is finished {@ see#getDownloadedModules()} replies the list of downloaded modules31 * and {@ see#getFailedModules()} replies the list of failed modules.31 * When the task is finished {@link #getDownloadedModules()} replies the list of downloaded modules 32 * and {@link #getFailedModules()} replies the list of failed modules. 32 33 * 33 34 */ … … 43 44 * Creates the download task 44 45 * 45 * @param parent the parent component relative to which the {@ seePleaseWaitDialog} is displayed46 * @param parent the parent component relative to which the {@link PleaseWaitDialog} is displayed 46 47 * @param toUpdate a collection of module descriptions for modules to update/download. Must not be null. 47 * @param title the title to display in the {@ seePleaseWaitDialog}48 * @param title the title to display in the {@link PleaseWaitDialog} 48 49 * @throws IllegalArgumentException thrown if toUpdate is null 49 50 */ … … 57 58 * Creates the task 58 59 * 59 * @param monitor a progress monitor. Defaults to {@ seeNullProgressMonitor#INSTANCE} if null60 * @param monitor a progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null 60 61 * @param toUpdate a collection of module descriptions for modules to update/download. Must not be null. 61 * @param title the title to display in the {@ seePleaseWaitDialog}62 * @param title the title to display in the {@link PleaseWaitDialog} 62 63 * @throws IllegalArgumentException thrown if toUpdate is null 63 64 */ -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleHandler.java
r33790 r34151 266 266 * 267 267 * @param modules the list of modules 268 * @param monitor the progress monitor. Defaults to {@ seeNullProgressMonitor#INSTANCE} if null.268 * @param monitor the progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null. 269 269 */ 270 270 public static void loadModules(Component parent, Collection<ModuleInformation> modules, ProgressMonitor monitor) { … … 302 302 * module lists. 303 303 * 304 * @param monitor the progress monitor. Defaults to {@ seeNullProgressMonitor#INSTANCE} if null.304 * @param monitor the progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null. 305 305 * @return the list of locally available module information 306 306 * … … 416 416 * @param parent the parent window for message boxes 417 417 * @param modules the collection of modules to update. Must not be null. 418 * @param monitor the progress monitor. Defaults to {@ seeNullProgressMonitor#INSTANCE} if null.418 * @param monitor the progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null. 419 419 * @throws IllegalArgumentException thrown if modules is null 420 420 */ … … 622 622 }*/ 623 623 624 /* *624 /* 625 625 * Replies the module which most likely threw the exception <code>ex</code>. 626 626 * … … 647 647 }*/ 648 648 649 /* *649 /* 650 650 * Checks whether the exception <code>e</code> was thrown by a module. If so, 651 651 * conditionally deactivates the module, but asks the user first. -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleInformation.java
r33518 r34151 221 221 * Load and instantiate the module 222 222 * 223 * @param the module class 223 * @param klass the module class 224 224 * @return the instantiated and initialized module 225 225 */ -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ReadLocalModuleInformationTask.java
r33518 r34151 17 17 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 18 18 import org.openstreetmap.josm.io.OsmTransferException; 19 import org.openstreetmap.josm.plugins.opendata.OdPlugin; 19 20 import org.openstreetmap.josm.tools.ImageProvider; 20 21 import org.openstreetmap.josm.tools.Logging; … … 25 26 * in the local module repositories. 26 27 * 27 * It scans the files in the local modules repository (see {@ see Preferences#getModulesDirectory()}28 * It scans the files in the local modules repository (see {@link OdPlugin#getModulesDirectory()} 28 29 * and extracts module information from three kind of files: 29 30 * <ul> -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ReadRemoteModuleInformationTask.java
r33518 r34151 69 69 * Creates the task 70 70 * 71 * @param monitor the progress monitor. Defaults to {@ seeNullProgressMonitor#INSTANCE} if null71 * @param monitor the progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null 72 72 * @param sites the collection of download sites. Defaults to the empty collection if null. 73 73 */
Note:
See TracChangeset
for help on using the changeset viewer.