Examples of allNonDeletedPrimitives()


Examples of org.openstreetmap.josm.data.osm.DataSet.allNonDeletedPrimitives()

     * Slow method to import all currently highlighted primitives into this instance
     */
    public void findAllHighlighted() {
        DataSet ds = Main.main.getCurrentDataSet();
        if (ds!=null) {
            highlightedPrimitives.addAll( ds.allNonDeletedPrimitives() );
        }
    }

    /**
     * Slow method to remove highlights from all primitives
View Full Code Here

Examples of org.openstreetmap.josm.data.osm.DataSet.allNonDeletedPrimitives()

     * Slow method to remove highlights from all primitives
     */
    public static void clearAllHighlighted() {
        DataSet ds = Main.main.getCurrentDataSet();
        if (ds!=null) {
            for (OsmPrimitive p: ds.allNonDeletedPrimitives()) {
                p.setHighlighted(false);
            }
        }
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.