Changeset 16621 in osm for applications/editors


Ignore:
Timestamp:
2009-07-21T20:32:20+02:00 (15 years ago)
Author:
jttt
Message:

Make it work without Main.ds

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

Legend:

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

    r16586 r16621  
    2626                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    2727                <attribute name="Plugin-Description" value="Helps vectorizing WMS images." />
    28                 <attribute name="Plugin-Mainversion" value="1813"/>
     28                <attribute name="Plugin-Mainversion" value="1815"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerAction.java

    r16586 r16621  
    290290                  if (!commands.isEmpty()) {
    291291                          Main.main.undoRedo.add(new SequenceCommand(tr("Lakewalker trace"), commands));
    292                           Main.ds.setSelected(ways);
     292                          Main.main.getCurrentDataSet().setSelected(ways);
    293293                  } else {
    294294                          System.out.println("Failed");
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerReader.java

    r16586 r16621  
    113113                if (!commands.isEmpty()) {
    114114                        Main.main.undoRedo.add(new SequenceCommand(tr("Lakewalker trace"), commands));
    115                         Main.ds.setSelected(ways);
     115                        Main.main.getCurrentDataSet().setSelected(ways);
    116116                }
    117117        } finally {
Note: See TracChangeset for help on using the changeset viewer.