Ignore:
Timestamp:
2010-03-12T08:21:45+01:00 (16 years ago)
Author:
jttt
Message:

Changes in GpxTrack API - return number of updates

Location:
applications/editors/josm/plugins/livegps
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/livegps/build.xml

    r19680 r20431  
    1818**
    1919** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN, 
     20** SVN,
    2121**    set the properties commit.message and plugin.main.version
    2222** and run
     
    2828
    2929        <property name="commit.message" value="Changed the constructor signature of the plugin main class" />
    30         <property name="plugin.main.version" value="2907" />
    31        
     30        <property name="plugin.main.version" value="3119" />
     31
    3232
    3333        <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
     
    8989
    9090        <!--
    91                  ************************** Publishing the plugin *********************************** 
     91                 ************************** Publishing the plugin ***********************************
    9292                -->
    9393        <!--
    94                 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 
     94                ** extracts the JOSM release for the JOSM version in ../core and saves it in the
    9595                ** property ${coreversion.info.entry.revision}
    9696                **
     
    141141
    142142        <!--
    143                 ** commits the plugin.jar 
     143                ** commits the plugin.jar
    144144                -->
    145145        <target name="commit-dist">
    146146                <echo>
    147147        ***** Properties of published ${plugin.jar} *****
    148         Commit message    : '${commit.message}'                                 
     148        Commit message    : '${commit.message}'
    149149        Plugin-Mainversion: ${plugin.main.version}
    150150        JOSM build version: ${coreversion.info.entry.revision}
    151151        Plugin-Version    : ${version.entry.commit.revision}
    152         ***** / Properties of published ${plugin.jar} *****                                     
    153                                                
     152        ***** / Properties of published ${plugin.jar} *****
     153
    154154        Now commiting ${plugin.jar} ...
    155155        </echo>
  • applications/editors/josm/plugins/livegps/src/livegps/AppendableGpxTrackSegment.java

    r19680 r20431  
    5555        }
    5656
     57        @Override
     58        public int getUpdateCount() {
     59                return size;
     60        }
     61
    5762}
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsAcquirer.java

    r19012 r20431  
    2828
    2929        /**
    30          * Constructor, initializes the configurable settings. 
     30         * Constructor, initializes the configurable settings.
    3131         */
    3232        public LiveGpsAcquirer() {
     
    204204                                                                haveFix = true;
    205205                                                        }
     206                                                        break;
    206207                                                default:
    207208                                                        // not interested
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsLayer.java

    r20264 r20431  
    3030        float speed;
    3131        float course;
    32         String status;
    3332        // JLabel lbl;
    3433        boolean autocenter;
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java

    r19448 r20431  
    3232        private JMenu lgpsmenu;
    3333        private JCheckBoxMenuItem lgpscapture;
    34         private JMenuItem lgpscenter;
    3534        private JCheckBoxMenuItem lgpsautocenter;
    3635        private LiveGpsDialog lgpsdialog;
  • applications/editors/josm/plugins/livegps/src/livegps/SingleSegmentGpxTrack.java

    r20264 r20431  
    3636        }
    3737
     38        @Override
     39        public int getUpdateCount() {
     40                return trackSegment.getUpdateCount();
     41        }
     42
    3843}
Note: See TracChangeset for help on using the changeset viewer.