Package org.openstreetmap.josm.data.osm.visitor

Examples of org.openstreetmap.josm.data.osm.visitor.Visitor


    public void paintConflicts(final Graphics g, final NavigatableComponent nc) {
        Color preferencesColor = getColor();
        if (preferencesColor.equals(Main.pref.getColor(marktr("background"), Color.black)))
            return;
        g.setColor(preferencesColor);
        Visitor conflictPainter = new AbstractVisitor() {
            // Manage a stack of visited relations to avoid infinite recursion with cyclic relations (fix #7938)
            private final Set<Relation> visited = new HashSet<>();
            @Override
            public void visit(Node n) {
                Point p = nc.getPoint(n);
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.data.osm.visitor.Visitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.