Changeset 19450 in osm


Ignore:
Timestamp:
2010-01-13T14:46:10+01:00 (15 years ago)
Author:
guggis
Message:

'Changed the constructor signature of the plugin main class'

Location:
applications/editors/josm/plugins/measurement
Files:
2 edited

Legend:

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

    r19058 r19450  
    2727<project name="measurement" default="dist" basedir=".">
    2828
    29         <property name="commit.message" value="Updated to JOSM 2621; updated build.xml" />
    30         <property name="plugin.main.version" value="2621" />
     29        <property name="commit.message" value="Changed the constructor signature of the plugin main class" />
     30        <property name="plugin.main.version" value="2830" />
    3131
    3232
  • applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementPlugin.java

    r19058 r19450  
    1010import org.openstreetmap.josm.gui.layer.Layer;
    1111import org.openstreetmap.josm.plugins.Plugin;
     12import org.openstreetmap.josm.plugins.PluginInformation;
    1213
    1314public class MeasurementPlugin extends Plugin {
     
    1819    protected static MeasurementLayer currentLayer;
    1920
    20     public MeasurementPlugin() {
     21    public MeasurementPlugin(PluginInformation info) {
     22        super(info);
    2123        mode = new MeasurementMode(Main.map, "measurement", tr("measurement mode"));
    2224        btn = new IconToggleButton(mode);
Note: See TracChangeset for help on using the changeset viewer.