Changeset 1263 in josm for trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
- Timestamp:
- 14.01.2009 23:46:14 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r1254 r1263 39 39 public Map<String, String> keys; 40 40 41 /** 42 * The key/value list for this primitive. 43 */ 41 /* mappaint data */ 42 public ElemStyle mappaintStyle = null; 43 public boolean isMappaintArea = false; 44 public Integer mappaintVisibleCode = 0; 45 public Integer mappaintDrawnCode = 0; 46 public Integer mappaintDrawnAreaCode = 0; 44 47 public Collection<String> errors; 48 49 public void putError(String text, Boolean isError) 50 { 51 if(errors == null) 52 errors = new ArrayList<String>(); 53 String s = isError ? tr("Error: {0}", text) : tr("Warning: {0}", text); 54 errors.add(s); 55 } 56 public void clearErrors() 57 { 58 errors = null; 59 } 60 /* end of mappaint data */ 45 61 46 62 /** … … 140 156 private static Collection<String> directionKeys = null; 141 157 142 143 /* mappaint style cache */144 public ElemStyle mappaintStyle = null;145 public boolean isMappaintArea = false;146 147 158 /** 148 159 * Implementation of the visitor scheme. Subclasses have to call the correct … … 331 342 } 332 343 } 333 334 public void putError(String text, Boolean isError)335 {336 if(errors == null)337 errors = new ArrayList<String>();338 String s = isError ? tr("Error: {0}", text) : tr("Warning: {0}", text);339 errors.add(s);340 }341 public void clearErrors()342 {343 errors = null;344 }345 344 }
Note: See TracChangeset
for help on using the changeset viewer.
