Changeset 3803 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2011-01-22T19:27:33+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintVisitor.java
r3800 r3803 34 34 import org.openstreetmap.josm.gui.mappaint.AreaElemStyle; 35 35 import org.openstreetmap.josm.gui.mappaint.ElemStyle; 36 import org.openstreetmap.josm.gui.mappaint.ElemStyles; 36 37 import org.openstreetmap.josm.gui.mappaint.IconElemStyle; 37 38 import org.openstreetmap.josm.gui.mappaint.LineElemStyle; 38 39 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles; 39 40 import org.openstreetmap.josm.gui.mappaint.SimpleNodeElemStyle; 40 import org.openstreetmap.josm.gui.mappaint.StyleSource;41 41 42 42 public class MapPaintVisitor implements PaintVisitor { … … 49 49 private boolean drawRestriction; 50 50 private boolean leftHandTraffic; 51 private StyleSourcestyles;51 private ElemStyles styles; 52 52 private double circum; 53 53 private double dist; … … 535 535 zoomLevelDisplay = Main.pref.getBoolean("mappaint.zoomLevelDisplay", false); 536 536 circum = nc.getDist100Pixel(); 537 styles = MapPaintStyles.getStyles() .getStyleSet();537 styles = MapPaintStyles.getStyles(); 538 538 drawMultipolygon = Main.pref.getBoolean("mappaint.multipolygon", true); 539 539 drawRestriction = Main.pref.getBoolean("mappaint.restriction", true); -
trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java
r3799 r3803 24 24 import org.openstreetmap.josm.gui.mappaint.AreaElemStyle; 25 25 import org.openstreetmap.josm.gui.mappaint.ElemStyle; 26 import org.openstreetmap.josm.gui.mappaint.ElemStyles; 26 27 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles; 27 import org.openstreetmap.josm.gui.mappaint.StyleSource;28 28 29 29 public class MultipolygonTest extends Test { … … 41 41 protected static final int NO_STYLE_POLYGON = 1611; 42 42 43 private static StyleSourcestyles;43 private static ElemStyles styles; 44 44 45 45 private final List<List<Node>> nonClosedWays = new ArrayList<List<Node>>(); … … 52 52 @Override 53 53 public void initialize() throws Exception { 54 styles = MapPaintStyles.getStyles() .getStyleSet();54 styles = MapPaintStyles.getStyles(); 55 55 } 56 56
Note:
See TracChangeset
for help on using the changeset viewer.