Ignore:
Timestamp:
2009-04-06T23:05:49+02:00 (16 years ago)
Author:
frederik
Message:

minof fixes to some JOSM plugins to reflect changes in the Visitor interface

Location:
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java

    r13497 r14406  
    1313import org.openstreetmap.josm.data.osm.*;
    1414import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    15 import org.openstreetmap.josm.data.osm.visitor.Visitor;
     15import org.openstreetmap.josm.data.osm.visitor.AbstractVisitor;
    1616import org.openstreetmap.josm.gui.MapView;
    1717import org.openstreetmap.josm.gui.dialogs.LayerListDialog;
     
    130130     * Visitor that highlights all cells the selected primitives go through
    131131     */
    132     class HighlightCellVisitor implements Visitor
     132    class HighlightCellVisitor extends AbstractVisitor
    133133    {
    134134        /** The MapView */
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/Test.java

    r14015 r14406  
    1313import org.openstreetmap.josm.data.osm.Relation;
    1414import org.openstreetmap.josm.data.osm.Way;
    15 import org.openstreetmap.josm.data.osm.visitor.Visitor;
     15import org.openstreetmap.josm.data.osm.visitor.AbstractVisitor;
    1616import org.openstreetmap.josm.tools.GBC;
    1717
     
    2525 * @author frsantos
    2626 */
    27 public class Test implements Visitor
     27public class Test extends AbstractVisitor
    2828{
    2929    /** Name of the test */
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java

    r13497 r14406  
    1515import org.openstreetmap.josm.data.osm.Way;
    1616import org.openstreetmap.josm.data.osm.WaySegment;
    17 import org.openstreetmap.josm.data.osm.visitor.Visitor;
     17import org.openstreetmap.josm.data.osm.visitor.AbstractVisitor;
    1818import org.openstreetmap.josm.gui.MapView;
    1919
     
    252252     * @author frsantos
    253253     */
    254     class PaintVisitor implements ValidatorVisitor, Visitor {
     254    class PaintVisitor extends AbstractVisitor implements ValidatorVisitor {
    255255        /** The graphics */
    256256        private final Graphics g;
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/AgregatePrimitivesVisitor.java

    r13497 r14406  
    66
    77import org.openstreetmap.josm.data.osm.*;
    8 import org.openstreetmap.josm.data.osm.visitor.Visitor;
     8import org.openstreetmap.josm.data.osm.visitor.AbstractVisitor;
    99
    1010/**
     
    1515 * @author frsantos
    1616 */
    17 public class AgregatePrimitivesVisitor implements Visitor
     17public class AgregatePrimitivesVisitor extends AbstractVisitor
    1818{
    1919    /** Aggregated data */
Note: See TracChangeset for help on using the changeset viewer.