Changeset 12187 in osm for applications
- Timestamp:
- 2008-12-02T17:21:16+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/build.xml
r10382 r12187 28 28 <echo message="creating ${plugin.jar}"/> 29 29 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build"> 30 <compilerarg value="-Xlint:deprecation"/> 31 <compilerarg value="-Xlint:unchecked"/> 30 32 <include name="**/*.java" /> 31 33 </javac> … … 50 52 <jar destfile="${plugin.jar}" basedir="build"> 51 53 <manifest> 52 <attribute name="Plugin-Class" value="wmsplugin.WMSPlugin" /> 53 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 54 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 55 <attribute name="Plugin-Description" value="Allows external WMS resources to be displayed." /> 54 <attribute name="Plugin-Class" value="wmsplugin.WMSPlugin" /> 55 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 56 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 57 <attribute name="Plugin-Description" value="Allows external WMS resources to be displayed." /> 58 <attribute name="Plugin-Mainversion" value="1065" /> 56 59 </manifest> 57 60 </jar> -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/Help_WMSmenuAction.java
r10058 r12187 18 18 public Help_WMSmenuAction() { 19 19 //super("Help / About"); 20 super(tr("help"), "help", tr("Help / About"), 0, 0, false);20 super(tr("help"), "help", tr("Help / About"), null, false); 21 21 22 22 } -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/Map_Rectifier_WMSmenuAction.java
r10704 r12187 18 18 19 19 public Map_Rectifier_WMSmenuAction() { 20 super(tr("Rectified Image ..."), "OLmarker", tr("Download Rectified Image from Metacarta's Map Rectifer WMS"), 0, 0, false);20 super(tr("Rectified Image ..."), "OLmarker", tr("Download Rectified Image from Metacarta's Map Rectifer WMS"), null, false); 21 21 } 22 22 -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSDownloadAction.java
r10704 r12187 16 16 17 17 public WMSDownloadAction(WMSInfo info) { 18 super(info.name, "wmsmenu", tr("Download WMS tile from {0}",info.name), 0, 0, false);18 super(info.name, "wmsmenu", tr("Download WMS tile from {0}",info.name), null, false); 19 19 this.info = info; 20 20 } -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java
r11242 r12187 19 19 import org.openstreetmap.josm.Main; 20 20 import org.openstreetmap.josm.plugins.Plugin; 21 import org.openstreetmap.josm.gui.MainMenu; 21 22 import org.openstreetmap.josm.gui.MapFrame; 22 23 import org.openstreetmap.josm.gui.IconToggleButton; … … 109 110 110 111 Collections.sort(wmsList); 111 JMenuBarmenu = Main.main.menu;112 MainMenu menu = Main.main.menu; 112 113 113 114 if (wmsJMenu == null) { 114 115 wmsJMenu = new JMenu(tr("WMS")); 115 wmsJMenu.setMnemonic(KeyEvent.VK_W);116 menu.add(wmsJMenu, KeyEvent.VK_W, "wms"); 116 117 menu.add(wmsJMenu, 5); 117 118 } else { … … 128 129 wmsJMenu.addSeparator(); 129 130 wmsJMenu.add(new JMenuItem(new 130 JosmAction(tr("Blank Layer"), "blankmenu", tr("Open a blank WMS layer to load data from a file"), 0, 0, false) {131 JosmAction(tr("Blank Layer"), "blankmenu", tr("Open a blank WMS layer to load data from a file"), null, false) { 131 132 public void actionPerformed(ActionEvent ev) { 132 133 Main.main.addLayer(new WMSLayer());
Note:
See TracChangeset
for help on using the changeset viewer.