Changeset 29854 in osm for applications/editors/josm/plugins/globalsat
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/globalsat
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/globalsat/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the globalsat plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** dialog. You have to check it in first.21 **22 ** Use the ant target 'publish' to check in the plugin and make it available to other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="globalsat" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed constructor signature of plugin main class"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value=" 5681"/>6 <property name="plugin.main.version" value="6162"/> 35 7 <!-- 36 8 ************************************************ … … 41 13 <property name="plugin.build.dir" value="build"/> 42 14 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 43 <property name="ant.build.javac.target" value="1. 5"/>15 <property name="ant.build.javac.target" value="1.6"/> 44 16 <property name="RXTX" location="./libs/RXTXcomm.jar"/> 45 17 <target name="init"> -
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/Dg100Config.java
r13497 r29854 5 5 package org.kaintoch.gps.globalsat.dg100; 6 6 7 import java.io.*; 7 import java.io.FileInputStream; 8 import java.io.FileOutputStream; 9 import java.io.InputStream; 10 import java.io.OutputStream; 8 11 import java.nio.ByteBuffer; 9 12 import java.util.Properties; -
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/GpsRec.java
r20039 r29854 5 5 package org.kaintoch.gps.globalsat.dg100; 6 6 7 import java.nio.*; 8 import java.text.*; 9 import java.util.*; 7 import java.nio.ByteBuffer; 8 import java.text.SimpleDateFormat; 9 import java.util.Calendar; 10 import java.util.GregorianCalendar; 10 11 11 12 /** -
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/Response.java
r13497 r29854 56 56 { 57 57 int recType = 2; 58 int ii = 0;59 58 // read part 1 60 59 while (buf.position() <= len) … … 70 69 } 71 70 recType = gpsRec.getDg100TypeOfNextRec(); 72 ++ii;73 71 } 74 72 // read part 2 … … 86 84 } 87 85 recType = gpsRec.getDg100TypeOfNextRec(); 88 ++ii;89 86 } 90 87 } -
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatConfigDialog.java
r13497 r29854 5 5 6 6 import static org.openstreetmap.josm.tools.I18n.tr; 7 7 import gnu.io.CommPortIdentifier; 8 9 import java.awt.Dimension; 10 import java.awt.GridBagConstraints; 8 11 import java.awt.GridBagLayout; 9 12 import java.awt.Insets; 10 import java.awt.Dimension;11 import java.awt.GridBagConstraints;12 13 import java.awt.event.ActionListener; 13 14 import java.awt.event.KeyEvent; 14 import java.util. ArrayList;15 import java.util.LinkedList; 15 16 import java.util.List; 16 import java.util.LinkedList; 17 import java.util.Enumeration; 18 17 18 import javax.swing.BoxLayout; 19 19 import javax.swing.ButtonGroup; 20 20 import javax.swing.JCheckBox; 21 import javax.swing.J TextField;21 import javax.swing.JComboBox; 22 22 import javax.swing.JLabel; 23 import javax.swing.JList;24 23 import javax.swing.JOptionPane; 25 24 import javax.swing.JPanel; 26 25 import javax.swing.JRadioButton; 27 import javax.swing.JButton; 28 import javax.swing.JTabbedPane; 29 import javax.swing.JComboBox; 30 import javax.swing.ListCellRenderer; 31 import javax.swing.BoxLayout; 32 33 34 import gnu.io.*; 26 import javax.swing.JTextField; 35 27 36 28 import org.kaintoch.gps.globalsat.dg100.Dg100Config; 37 38 29 import org.openstreetmap.josm.Main; 39 import org.openstreetmap.josm.actions.DownloadAction;40 import org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask;41 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;42 import org.openstreetmap.josm.gui.MapView;43 import org.openstreetmap.josm.plugins.PluginProxy;44 import org.openstreetmap.josm.tools.GBC;45 import org.openstreetmap.josm.data.gpx.GpxData;46 import org.openstreetmap.josm.data.gpx.GpxTrack;47 import org.openstreetmap.josm.data.gpx.WayPoint;48 30 49 31 -
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatImportDialog.java
r13497 r29854 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 import gnu.io.CommPortIdentifier; 5 6 7 import java.awt.GridBagConstraints; 6 8 import java.awt.GridBagLayout; 7 9 import java.awt.Insets; 8 import java.awt.GridBagConstraints;9 10 import java.awt.event.ActionListener; 10 import java.util.ArrayList; 11 import java.util.Enumeration; 12 import java.util.LinkedList; 11 13 import java.util.List; 12 import java.util.LinkedList;13 import java.util.Enumeration;14 14 15 import javax.swing.JButton; 15 16 import javax.swing.JCheckBox; 17 import javax.swing.JComboBox; 18 import javax.swing.JDialog; 16 19 import javax.swing.JLabel; 17 20 import javax.swing.JList; 18 21 import javax.swing.JOptionPane; 19 22 import javax.swing.JPanel; 20 import javax.swing.JButton;21 import javax.swing.JTabbedPane;22 import javax.swing.JComboBox;23 23 import javax.swing.ListCellRenderer; 24 import javax.swing.JDialog;25 26 import gnu.io.*;27 24 28 25 import org.openstreetmap.josm.Main; 29 import org.openstreetmap.josm.actions.DownloadAction;30 import org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask;31 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;32 import org.openstreetmap.josm.gui.MapView;33 import org.openstreetmap.josm.plugins.PluginProxy;34 import org.openstreetmap.josm.tools.GBC;35 import org.openstreetmap.josm.data.gpx.GpxData;36 import org.openstreetmap.josm.data.gpx.GpxTrack;37 import org.openstreetmap.josm.data.gpx.WayPoint;38 26 39 27 /**
Note:
See TracChangeset
for help on using the changeset viewer.