Changeset 7383 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/LineTextElemStyle.java
- Timestamp:
- 2014-08-13T16:42:17+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/LineTextElemStyle.java
r7083 r7383 18 18 this.text = text; 19 19 } 20 public static LineTextElemStyle create( Environment env) {21 Cascade c = env.mc.getCascade(env.layer);20 public static LineTextElemStyle create(final Environment env) { 21 final Cascade c = env.mc.getCascade(env.layer); 22 22 23 23 Keyword textPos = c.get(TEXT_POSITION, null, Keyword.class); … … 25 25 return null; 26 26 27 TextElement text = TextElement.create( c, PaintColors.TEXT.get(), false);27 TextElement text = TextElement.create(env, PaintColors.TEXT.get(), false); 28 28 if (text == null) 29 29 return null;
Note:
See TracChangeset
for help on using the changeset viewer.