Changeset 34614 in osm for applications/editors/josm/plugins
- Timestamp:
- 2018-08-31T17:28:35+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/reltoolbox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/build.xml
r34551 r34614 4 4 <property name="commit.message" value="RelToolbox: make natural sort for relation and find relation lists"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="14 153"/>6 <property name="plugin.main.version" value="14208"/> 7 7 8 8 <property name="plugin.author" value="Ilya Zverev"/> -
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/RelationHelpAction.java
r34551 r34614 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.net.URI;8 import java.util.List;9 7 10 8 import javax.swing.AbstractAction; … … 13 11 import org.openstreetmap.josm.gui.MainApplication; 14 12 import org.openstreetmap.josm.gui.dialogs.properties.HelpAction; 15 import org.openstreetmap.josm.spi.preferences.Config;16 13 import org.openstreetmap.josm.tools.ImageProvider; 17 import org.openstreetmap.josm.tools.LanguageInfo;18 14 import org.openstreetmap.josm.tools.Logging; 19 15 … … 43 39 return; 44 40 try { 45 String base = Config.getPref().get("url.openstreetmap-wiki", "https://wiki.openstreetmap.org/wiki/"); 46 String lang = LanguageInfo.getWikiLanguagePrefix(); 47 final List<URI> uris = HelpAction.getRelationURIs(base, lang, rel.get()); 48 MainApplication.worker.execute(() -> HelpAction.displayHelp(uris)); 41 MainApplication.worker.execute(() -> HelpAction.displayRelationHelp(rel.get())); 49 42 } catch (Exception e1) { 50 43 Logging.error(e1);
Note:
See TracChangeset
for help on using the changeset viewer.