Changeset 2974 in osm for applications/editors/josm/plugins/surveyor/src/at
- Timestamp:
- 2007-05-21T10:11:58+02:00 (18 years ago)
- Location:
- applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java
r2936 r2974 22 22 */ 23 23 public class AutoSaveAction extends AbstractAction { 24 private static final long serialVersionUID = -8608679323231116043L; 24 25 private static final long AUTO_SAVE_PERIOD_SEC = 60; // once a minute 25 26 public static final String GPS_FILE_NAME_PATTERN = "surveyor-{0,date,yyyyMMdd-HHmmss}.gpx"; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveGpsLayerTimerTask.java
r2936 r2974 13 13 import javax.swing.JOptionPane; 14 14 15 import livegps.LiveGpsLayer;16 15 import livegps.LiveGpsLock; 17 16 … … 19 18 import org.openstreetmap.josm.gui.layer.Layer; 20 19 import org.openstreetmap.josm.gui.layer.RawGpsLayer; 21 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;22 20 import org.openstreetmap.josm.io.GpxWriter; 23 21 import org.openstreetmap.josm.io.XmlWriter; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/GpsActionEvent.java
r2936 r2974 13 13 */ 14 14 public class GpsActionEvent extends ActionEvent { 15 private static final long serialVersionUID = 2674961758007055637L; 15 16 private LatLon coordinates; 16 17 -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/GpxTrackMarkerWriter.java
r2936 r2974 13 13 import org.openstreetmap.josm.gui.layer.markerlayer.Marker; 14 14 import org.openstreetmap.josm.io.XmlWriter; 15 import org.openstreetmap.josm.io.XmlWriter.OsmWriterInterface;16 15 17 16 /** -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/MetaAction.java
r2944 r2974 4 4 package at.dallermassl.josm.plugin.surveyor; 5 5 6 import java.awt.BorderLayout;7 6 import java.awt.event.ActionEvent; 8 import java.awt.event.KeyEvent;9 import java.awt.event.KeyListener;10 import java.beans.PropertyChangeEvent;11 import java.beans.PropertyChangeListener;12 7 import java.util.List; 13 import java.util.Timer;14 import java.util.TimerTask;15 8 16 9 import javax.swing.AbstractAction; 17 10 import javax.swing.Icon; 18 import javax.swing.JButton;19 import javax.swing.JDialog;20 11 import javax.swing.JFrame; 21 import javax.swing.JLabel;22 import javax.swing.JOptionPane;23 import javax.swing.JTextField;24 25 import test.DialogClosingThread;26 27 12 28 13 import livegps.LiveGpsData; … … 35 20 */ 36 21 public class MetaAction extends AbstractAction { 22 private static final long serialVersionUID = -1523524381092575809L; 37 23 private List<SurveyorActionDescription> actions; 38 24 private GpsDataSource gpsDataSource; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorActionDescription.java
r2936 r2974 7 7 import java.util.ArrayList; 8 8 import java.util.List; 9 import java.util.StringTokenizer;10 9 11 10 import org.dinopolis.util.io.Tokenizer; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorComponent.java
r2936 r2974 11 11 import java.io.Reader; 12 12 import java.util.ArrayList; 13 import java.util.LinkedList;14 13 import java.util.List; 15 14 … … 19 18 import livegps.LiveGpsData; 20 19 21 import org.openstreetmap.josm.Main;22 import org.openstreetmap.josm.gui.annotation.AnnotationPreset;23 import org.openstreetmap.josm.gui.annotation.AnnotationPreset.Check;24 import org.openstreetmap.josm.gui.annotation.AnnotationPreset.Combo;25 import org.openstreetmap.josm.gui.annotation.AnnotationPreset.Item;26 import org.openstreetmap.josm.gui.annotation.AnnotationPreset.Key;27 import org.openstreetmap.josm.gui.annotation.AnnotationPreset.Label;28 import org.openstreetmap.josm.gui.annotation.AnnotationPreset.Text;29 20 import org.openstreetmap.josm.tools.XmlObjectParser; 30 21 import org.xml.sax.SAXException; … … 35 26 */ 36 27 public class SurveyorComponent extends JComponent implements PropertyChangeListener, GpsDataSource { 37 28 private static final long serialVersionUID = 4539838472057529042L; 38 29 private LiveGpsData gpsData; 39 30 private int rows = 3; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/AnnotationPresetAction.java
r2949 r2974 8 8 import javax.swing.Action; 9 9 10 import livegps.LiveGpsLock;11 12 import org.openstreetmap.josm.Main;13 10 import org.openstreetmap.josm.data.coor.LatLon; 14 import org.openstreetmap.josm.data.osm.Node;15 11 import org.openstreetmap.josm.gui.annotation.AnnotationPreset; 16 12 import org.openstreetmap.josm.gui.preferences.AnnotationPresetPreference; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/ConsolePrinterAction.java
r2936 r2974 4 4 package at.dallermassl.josm.plugin.surveyor.action; 5 5 6 import java.util.List;7 8 import javax.swing.AbstractButton;9 10 6 import org.openstreetmap.josm.data.coor.LatLon; 11 7 12 import at.dallermassl.josm.plugin.surveyor.SurveyorAction;13 8 import at.dallermassl.josm.plugin.surveyor.GpsActionEvent; 14 9 -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/PlayAudioAction.java
r2936 r2974 7 7 import java.io.IOException; 8 8 import java.net.MalformedURLException; 9 import java.net.URL;10 import java.util.ArrayList;11 import java.util.List;12 9 13 10 import javax.sound.sampled.AudioFormat; … … 22 19 23 20 import at.dallermassl.josm.plugin.surveyor.GpsActionEvent; 24 import at.dallermassl.josm.plugin.surveyor.SurveyorAction;25 21 26 22 /** -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetNodeAction.java
r2936 r2974 9 9 import java.util.Map.Entry; 10 10 11 import javax.swing.Action;12 13 11 import livegps.LiveGpsLock; 14 12 … … 17 15 import org.openstreetmap.josm.data.coor.LatLon; 18 16 import org.openstreetmap.josm.data.osm.Node; 19 import org.openstreetmap.josm.gui.annotation.AnnotationPreset;20 import org.openstreetmap.josm.gui.preferences.AnnotationPresetPreference;21 17 22 18 import at.dallermassl.josm.plugin.surveyor.GpsActionEvent; … … 54 50 key = keyValuePair.substring(0, pos); 55 51 value = keyValuePair.substring(pos + 1); 56 keyValues.add(new Tuple (key, value));52 keyValues.add(new Tuple<String, String>(key, value)); 57 53 } else { 58 54 System.err.println("SetNodeAction: ignoring invalid key value pair: " + keyValuePair); -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java
r2936 r2974 8 8 import java.util.ArrayList; 9 9 import java.util.Collection; 10 import java.util.List;11 10 12 11 import javax.swing.JToggleButton; … … 21 20 22 21 import at.dallermassl.josm.plugin.surveyor.GpsActionEvent; 23 import at.dallermassl.josm.plugin.surveyor.SurveyorAction;24 22 25 23 /** -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SystemExecuteAction.java
r2936 r2974 6 6 import java.io.BufferedReader; 7 7 import java.io.File; 8 import java.io.IOException;9 8 import java.io.InputStream; 10 9 import java.io.InputStreamReader; 11 import java.util.ArrayList;12 import java.util.List;13 import java.util.Map;14 10 15 11 import at.dallermassl.josm.plugin.surveyor.GpsActionEvent; 16 import at.dallermassl.josm.plugin.surveyor.SurveyorAction;17 12 18 13 /** … … 28 23 public void actionPerformed(GpsActionEvent event) { 29 24 final ProcessBuilder builder = new ProcessBuilder(getParameters()); 30 Map<String, String> environ = builder.environment();25 //Map<String, String> environ = builder.environment(); 31 26 builder.directory(new File(System.getProperty("user.home"))); 32 27
Note:
See TracChangeset
for help on using the changeset viewer.