Changeset 2856 in osm for applications/editors/josm
- Timestamp:
- 2007-05-10T00:49:35+02:00 (18 years ago)
- Location:
- applications/editors/josm/plugins/tways
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tways/build.xml
r2844 r2856 15 15 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.tways.TwaysPlugin" /> 16 16 <attribute name="Plugin-Description" value="Create ways automagically" /> 17 <attribute name="Plugin-Version" value="0.2"/> 18 <attribute name="Author" value="Thomas Walraet <thomas@walraet.com>"/> 17 19 </manifest> 18 20 </jar> -
applications/editors/josm/plugins/tways/src/org/openstreetmap/josm/plugins/tways/CreateLinearWaysAction.java
r2844 r2856 28 28 29 29 public CreateLinearWaysAction() { 30 super("Create linearways");30 super("Create ways"); 31 31 } 32 32 … … 74 74 nextSegment = pss.getSegmentFromNode(nextSegment.to); 75 75 } 76 way.put("created_by", "Tways 0.2"); 76 77 ways.add(way); 77 78 commands.add(new AddCommand(way)); -
applications/editors/josm/plugins/tways/src/org/openstreetmap/josm/plugins/tways/TwaysPlugin.java
r2844 r2856 18 18 19 19 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); 23 23 } 24 24
Note:
See TracChangeset
for help on using the changeset viewer.