Changeset 6889 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSource.java
- Timestamp:
- 2014-02-27T01:41:49+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSource.java
r6289 r6889 21 21 import org.openstreetmap.josm.tools.Utils; 22 22 23 abstract publicclass StyleSource extends SourceEntry {23 public abstract class StyleSource extends SourceEntry { 24 24 25 25 private List<Throwable> errors = new ArrayList<Throwable>(); … … 44 44 } 45 45 46 abstract publicvoid apply(MultiCascade mc, OsmPrimitive osm, double scale, OsmPrimitive multipolyOuterWay, boolean pretendWayIsClosed);46 public abstract void apply(MultiCascade mc, OsmPrimitive osm, double scale, OsmPrimitive multipolyOuterWay, boolean pretendWayIsClosed); 47 47 48 abstract publicvoid loadStyleSource();48 public abstract void loadStyleSource(); 49 49 50 50 /** … … 54 54 * @see #closeSourceInputStream(InputStream) 55 55 */ 56 abstract publicInputStream getSourceInputStream() throws IOException;56 public abstract InputStream getSourceInputStream() throws IOException; 57 57 58 58 /** … … 101 101 } 102 102 103 final publicImageIcon getIcon() {103 public final ImageIcon getIcon() { 104 104 if (getErrors().isEmpty()) 105 105 return getSourceIcon();
Note:
See TracChangeset
for help on using the changeset viewer.