Changeset 2864 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2010-01-15T23:23:43+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r2859 r2864 367 367 try { 368 368 monitor.beginTask(tr("Loading plugins ...")); 369 monitor.subTask(tr("Checking plugin preconditions...")); 369 370 List<PluginInformation> toLoad = new LinkedList<PluginInformation>(); 371 for (PluginInformation pi: plugins) { 372 if (checkLoadPreconditions(parent, plugins, pi)) { 373 toLoad.add(pi); 374 } 375 } 370 376 // sort the plugins according to their "staging" equivalence class. The 371 377 // lower the value of "stage" the earlier the plugin should be loaded. … … 381 387 } 382 388 ); 383 monitor.subTask(tr("Checking plugin preconditions..."));384 for (PluginInformation pi: plugins) {385 if (checkLoadPreconditions(parent, plugins, pi)) {386 toLoad.add(pi);387 }388 }389 389 if (toLoad.isEmpty()) 390 390 return;
Note:
See TracChangeset
for help on using the changeset viewer.