Changeset 2856 in osm for applications/editors/josm


Ignore:
Timestamp:
2007-05-10T00:49:35+02:00 (18 years ago)
Author:
twalraet
Message:

Modified menu label

Location:
applications/editors/josm/plugins/tways
Files:
3 edited

Legend:

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

    r2844 r2856  
    1515        <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.tways.TwaysPlugin" />
    1616        <attribute name="Plugin-Description" value="Create ways automagically" />
     17        <attribute name="Plugin-Version" value="0.2"/>
     18        <attribute name="Author" value="Thomas Walraet &lt;thomas@walraet.com>"/>
    1719      </manifest>
    1820    </jar>
  • applications/editors/josm/plugins/tways/src/org/openstreetmap/josm/plugins/tways/CreateLinearWaysAction.java

    r2844 r2856  
    2828
    2929    public CreateLinearWaysAction() {
    30         super("Create linear ways");
     30        super("Create ways");
    3131    }
    3232
     
    7474                nextSegment = pss.getSegmentFromNode(nextSegment.to);
    7575            }
     76            way.put("created_by", "Tways 0.2");
    7677            ways.add(way);
    7778            commands.add(new AddCommand(way));
  • applications/editors/josm/plugins/tways/src/org/openstreetmap/josm/plugins/tways/TwaysPlugin.java

    r2844 r2856  
    1818
    1919    public TwaysPlugin() {
    20         JMenu waysMenu = new JMenu(tr("Ways"));
    21         waysMenu.add(new JMenuItem(new CreateLinearWaysAction()));
    22         Main.main.menu.add(waysMenu, 2);
     20        JMenu twaysMenu = new JMenu(tr("Tways"));
     21        twaysMenu.add(new JMenuItem(new CreateLinearWaysAction()));
     22        Main.main.menu.add(twaysMenu, 2);
    2323    }
    2424
Note: See TracChangeset for help on using the changeset viewer.