Changeset 20431 in osm for applications/editors


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

Changes in GpxTrack API - return number of updates

Location:
applications/editors/josm/plugins
Files:
10 edited

Legend:

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

    r19681 r20431  
    2828-->
    2929<project name="dataimport" default="dist" basedir=".">
    30        
     30
    3131        <!-- enter the SVN commit message -->
    3232        <property name="commit.message" value="Changed constructor signature, updated build.xml" />
    3333        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34         <property name="plugin.main.version" value="2907" />
     34        <property name="plugin.main.version" value="3119" />
    3535
    3636        <!--
     
    159159
    160160        <!--
    161         ************************** Publishing the plugin *********************************** 
     161        ************************** Publishing the plugin ***********************************
    162162        -->
    163163        <!--
    164                 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 
     164                ** extracts the JOSM release for the JOSM version in ../core and saves it in the
    165165                ** property ${coreversion.info.entry.revision}
    166166                **
     
    211211
    212212        <!--
    213                 ** commits the plugin.jar 
     213                ** commits the plugin.jar
    214214                -->
    215215        <target name="commit-dist">
    216216                <echo>
    217217        ***** Properties of published ${plugin.jar} *****
    218         Commit message    : '${commit.message}'                                 
     218        Commit message    : '${commit.message}'
    219219        Plugin-Mainversion: ${plugin.main.version}
    220220        JOSM build version: ${coreversion.info.entry.revision}
    221221        Plugin-Version    : ${version.entry.commit.revision}
    222         ***** / Properties of published ${plugin.jar} *****                                     
    223                                                
     222        ***** / Properties of published ${plugin.jar} *****
     223
    224224        Now commiting ${plugin.jar} ...
    225225        </echo>
  • applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/SingleSegmentGpxTrack.java

    r20267 r20431  
    3636        }
    3737
     38        @Override
     39        public int getUpdateCount() {
     40                return trackSegment.getUpdateCount();
     41        }
     42
    3843}
  • applications/editors/josm/plugins/globalsat/build.xml

    r19681 r20431  
    3333        <property name="commit.message" value="Changed constructor signature of plugin main class" />
    3434        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35         <property name="plugin.main.version" value="2907" />
     35        <property name="plugin.main.version" value="3119" />
    3636
    3737        <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
     
    9797
    9898        <!--
    99                 ************************** Publishing the plugin *********************************** 
     99                ************************** Publishing the plugin ***********************************
    100100                -->
    101101        <!--
    102                         ** extracts the JOSM release for the JOSM version in ../core and saves it in the 
     102                        ** extracts the JOSM release for the JOSM version in ../core and saves it in the
    103103                        ** property ${coreversion.info.entry.revision}
    104104                        **
     
    149149
    150150        <!--
    151                         ** commits the plugin.jar 
     151                        ** commits the plugin.jar
    152152                        -->
    153153        <target name="commit-dist">
    154154                <echo>
    155155                ***** Properties of published ${plugin.jar} *****
    156                 Commit message    : '${commit.message}'                                 
     156                Commit message    : '${commit.message}'
    157157                Plugin-Mainversion: ${plugin.main.version}
    158158                JOSM build version: ${coreversion.info.entry.revision}
    159159                Plugin-Version    : ${version.entry.commit.revision}
    160                 ***** / Properties of published ${plugin.jar} *****                                     
    161                                                        
     160                ***** / Properties of published ${plugin.jar} *****
     161
    162162                Now commiting ${plugin.jar} ...
    163163                </echo>
  • applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/SingleSegmentGpxTrack.java

    r20267 r20431  
    3636        }
    3737
     38        @Override
     39        public int getUpdateCount() {
     40                return trackSegment.getUpdateCount();
     41        }
     42
    3843}
  • 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.