Changeset 14120 in osm for applications/editors/josm/plugins/wmsplugin
- Timestamp:
- 2009-03-18T15:55:16+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/wmsplugin/build.xml ¶
r14015 r14120 29 29 <attribute name="Plugin-Description" value="Display georeferenced images as background in JOSM (WMS servers, Yahoo, ...)."/> 30 30 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMSPlugin"/> 31 <attribute name="Plugin-Mainversion" value="14 65"/>31 <attribute name="Plugin-Mainversion" value="1498"/> 32 32 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 33 33 <attribute name="de_Plugin-Link" value="http://wiki.openstreetmap.org/wiki/DE:JOSM/Plugins/WMSPlugin"/> -
TabularUnified applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java ¶
r13648 r14120 1 1 package wmsplugin; 2 2 3 import static org.openstreetmap.josm.tools.I18n.marktr; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 5 6 6 import java.awt.event.ActionEvent; … … 16 16 import javax.swing.AbstractButton; 17 17 import javax.swing.JMenu; 18 import javax.swing.JMenuBar;19 18 import javax.swing.JMenuItem; 20 19 … … 130 129 MainMenu menu = Main.main.menu; 131 130 132 if (wmsJMenu == null) { 133 wmsJMenu = new JMenu(tr("WMS")); 134 menu.add(wmsJMenu, KeyEvent.VK_W, "wms"); 135 menu.add(wmsJMenu, 5); 136 } else { 131 if (wmsJMenu == null) 132 wmsJMenu = menu.addMenu(marktr("WMS"), KeyEvent.VK_W, menu.defaultMenuPos); 133 else 137 134 wmsJMenu.removeAll(); 138 }139 135 140 136 // for each configured WMSInfo, add a menu entry.
Note:
See TracChangeset
for help on using the changeset viewer.