Ignore:
Timestamp:
2008-12-22T16:52:22+01:00 (16 years ago)
Author:
stoecker
Message:

removed unimplemented stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerAction.java

    r12255 r12479  
    4343  protected String name;
    4444  protected Cursor oldCursor;
    45   protected List<Node> selectedNodes;
    4645  protected Thread executeThread;
    4746  protected boolean cancel;
     
    6968    }
    7069
    71     selectedNodes = new ArrayList<Node>();
    72     for (OsmPrimitive osm : Main.ds.getSelected()) {
    73       if (osm instanceof Node) {
    74         Node node = (Node) osm;
    75         selectedNodes.add(node);
    76       }
    77     }
    78 
    79     if (selectedNodes.isEmpty()) {
    80       oldCursor = Main.map.mapView.getCursor();
    81       Main.map.mapView.setCursor(ImageProvider.getCursor("crosshair", "lakewalker-sml"));
    82       Main.map.mapView.addMouseListener(this);
    83     }
    84     else {
    85       lakewalk(selectedNodes);
    86     }
    87   }
    88 
    89    
    90  
     70    oldCursor = Main.map.mapView.getCursor();
     71    Main.map.mapView.setCursor(ImageProvider.getCursor("crosshair", "lakewalker-sml"));
     72    Main.map.mapView.addMouseListener(this);
     73  }
     74
    9175  /**
    9276   * check for presence of cache folder and trim cache to specified size.
     
    315299  }
    316300
    317   protected void lakewalk(List nodes) {
    318 
    319   }
    320 
    321301  public void mouseClicked(MouseEvent e) {
    322302    Main.map.mapView.removeMouseListener(this);
Note: See TracChangeset for help on using the changeset viewer.