Changeset 29854 in osm for applications/editors/josm/plugins/surveyor
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/surveyor
- Files:
-
- 2 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/build.xml
r29841 r29854 7 7 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 8 8 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 9 <property name="plugin.main.version" value=" 4980"/>9 <property name="plugin.main.version" value="6162"/> 10 10 <property name="livegpsplugin.jar" value="${plugin.dist.dir}/livegps.jar"/> 11 11 -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java
r27852 r29854 8 8 9 9 import java.awt.event.ActionEvent; 10 import java.awt.event.KeyEvent; 10 11 import java.text.MessageFormat; 11 12 import java.util.Date; … … 13 14 import java.util.TimerTask; 14 15 15 import javax.swing.AbstractAction;16 16 import javax.swing.AbstractButton; 17 import java.awt.event.KeyEvent;18 17 19 import at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction; 18 import livegps.LiveGpsLayer; 19 20 20 import org.openstreetmap.josm.actions.JosmAction; 21 21 import org.openstreetmap.josm.tools.Shortcut; 22 23 import livegps.LiveGpsLayer;24 22 25 23 /** -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveGpsLayerTimerTask.java
r19681 r29854 75 75 GpxWriter gpxWriter = new GpxWriter(out); 76 76 gpxWriter.write(gpsLayer.data); 77 gpxWriter.close(); 77 78 tmpFile.renameTo(file); 78 79 } catch (IOException ioExc) { -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java
r19681 r29854 14 14 15 15 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.data.coor.LatLon;17 16 import org.openstreetmap.josm.data.gpx.GpxData; 18 17 import org.openstreetmap.josm.data.gpx.WayPoint; … … 53 52 */ 54 53 public void actionPerformed(GpsActionEvent event) { 55 LatLon coordinates = event.getCoordinates();56 54 //System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " + coordinates.lon()); 57 55 String markerTitle = getParameters().get(0); -
applications/editors/josm/plugins/surveyor/src/org/dinopolis/util/collection/Tuple.java
r13497 r29854 11 11 * 12 12 * @author cdaller 13 * 13 * @deprecated Should be replaced by {@link org.openstreetmap.josm.tools.Pair} 14 14 */ 15 15 public class Tuple<T1 extends Object, T2 extends Object> implements Map.Entry<T1, T2>{ 16 16 T1 first; 17 17 T2 second; 18 19 /**20 * Default Constructor21 */22 public Tuple() {23 }24 18 25 19 /** … … 102 96 * @see java.lang.Object#equals(java.lang.Object) 103 97 */ 104 @SuppressWarnings("unchecked")105 98 @Override 106 99 public boolean equals(Object obj) { … … 111 104 if (getClass() != obj.getClass()) 112 105 return false; 113 final Tuple other = (Tuple) obj;106 final Tuple<?, ?> other = (Tuple<?, ?>) obj; 114 107 if (this.first == null) { 115 108 if (other.first != null)
Note:
See TracChangeset
for help on using the changeset viewer.