Changeset 29725 in osm for applications/editors/josm/plugins/tagging-preset-tester
- Timestamp:
- 2013-06-29T03:13:42+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingCellRenderer.java
r28566 r29725 34 34 else { 35 35 if (a.types == null) 36 l.setIcon(ImageProvider.get("data", "empty"));36 icon = ImageProvider.getIfAvailable("data", "empty"); 37 37 else if (a.types.size() != 1) 38 l.setIcon(ImageProvider.get("data", "object"));38 icon = ImageProvider.getIfAvailable("data", "object"); 39 39 else 40 l.setIcon(ImageProvider.get(a.types.iterator().next().getIconName())); 40 icon = ImageProvider.getIfAvailable(a.types.iterator().next().getIconName()); 41 if (icon != null) 42 l.setIcon(icon); 41 43 } 42 44 l.setOpaque(true);
Note:
See TracChangeset
for help on using the changeset viewer.