source: josm/trunk/src/org/openstreetmap/josm/gui/mappaint/NoPaintElemStyle.java@ 2675

Last change on this file since 2675 was 2675, checked in by jttt, 14 years ago

MapPaintVisitor - delegate drawing to styles, MapPaintVisitor should only select correct style and then let primitives draw in correct order. (not finished yet)

  • Property svn:mime-type set to text/plain
File size: 625 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.mappaint;
3
4import org.openstreetmap.josm.data.osm.OsmPrimitive;
5import org.openstreetmap.josm.data.osm.visitor.paint.MapPaintSettings;
6import org.openstreetmap.josm.data.osm.visitor.paint.MapPainter;
7
8public class NoPaintElemStyle extends ElemStyle {
9
10 public static final NoPaintElemStyle INSTANCE = new NoPaintElemStyle();
11
12 private NoPaintElemStyle() {
13
14 }
15
16 @Override
17 public void paintPrimitive(OsmPrimitive primitive, MapPaintSettings paintSettings, MapPainter painter, boolean selected) {
18 // Do nothing
19 }
20
21}
Note: See TracBrowser for help on using the repository browser.