Changeset 12575 in osm for applications/editors
- Timestamp:
- 2008-12-25T14:25:37+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/waypoints
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waypoints/build.xml
r7287 r12575 25 25 <echo message="creating ${plugin.jar}"/> 26 26 <javac srcdir="src" classpath="${josm}" destdir="build" debug="true"> 27 <compilerarg value="-Xlint:deprecation"/> 27 28 <include name="**/*.java" /> 28 29 </javac> … … 30 31 31 32 <target name="dist" depends="compile"> 32 <!-- 33 <copy todir="build/images"> 34 <fileset dir="images"></fileset> 35 </copy> 36 --> 37 <jar destfile="dist/waypoints.jar" basedir="build"> 33 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 34 <env key="LANG" value="C"/> 35 <arg value="info"/> 36 <arg value="--xml"/> 37 <arg value="."/> 38 </exec> 39 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 40 <delete file="REVISION"/> 41 <jar destfile="${plugin.jar}" basedir="build"> 38 42 <manifest> 39 43 <attribute name="Plugin-Class" value="waypoints.WaypointPlugin" /> 40 44 <attribute name="Plugin-Description" value="Automatic conversion of waypoints in a GPX file to OSM nodes." /> 45 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 46 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 47 <attribute name="Plugin-Mainversion" value="1153" /> 41 48 </manifest> 42 49 </jar> -
applications/editors/josm/plugins/waypoints/src/WaypointOpenAction.java
r9949 r12575 21 21 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 22 22 import org.openstreetmap.josm.actions.DiskAccessAction; 23 import org.openstreetmap.josm.tools.Shortcut; 23 24 import org.xml.sax.SAXException; 24 25 … … 33 34 */ 34 35 public WaypointOpenAction() { 35 super(tr("Open waypoints file"), "open", tr("Open a waypoints file."), 36 KeyEvent.VK_W, InputEvent.CTRL_DOWN_MASK); 36 super(tr("Open waypoints file"), "open", tr("Open a waypoints file."), 37 Shortcut.registerShortcut("tools:waypoints", tr("Menu: {0}", 38 tr("Open waypoints file")), KeyEvent.VK_W, Shortcut.GROUP_MENU, Shortcut.SHIFT_DEFAULT)); 37 39 } 38 40
Note:
See TracChangeset
for help on using the changeset viewer.