Revision 34263 trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/symbols/PictureLineSymbol.java
PictureLineSymbol.java | ||
---|---|---|
260 | 260 |
xml.putProperty("className", getClassName()); |
261 | 261 |
xml.putProperty("isShapeVisible", isShapeVisible()); |
262 | 262 |
xml.putProperty("desc", getDescription()); |
263 |
xml.putProperty("imagePath", pathGenerator.getPath(imagePath)); |
|
264 |
xml.putProperty("selImagePath", pathGenerator.getPath(selImagePath)); |
|
263 |
xml.putProperty("imagePath", pathGenerator.getURLPath(imagePath));
|
|
264 |
xml.putProperty("selImagePath", pathGenerator.getURLPath(selImagePath));
|
|
265 | 265 |
xml.putProperty("lineWidth", getLineWidth()); |
266 | 266 |
xml.putProperty("xScale", getXScale()); |
267 | 267 |
xml.putProperty("yScale", getYScale()); |
... | ... | |
280 | 280 |
System.out.println(this.getClass().getClassLoader()); |
281 | 281 |
setDescription(xml.getStringProperty("desc")); |
282 | 282 |
setIsShapeVisible(xml.getBooleanProperty("isShapeVisible")); |
283 |
imagePath = pathGenerator.getAbsolutePath(xml.getStringProperty("imagePath")); |
|
284 |
selImagePath = pathGenerator.getAbsolutePath(xml.getStringProperty("selImagePath")); |
|
283 |
imagePath = pathGenerator.getAbsoluteURLPath(xml.getStringProperty("imagePath"));
|
|
284 |
selImagePath = pathGenerator.getAbsoluteURLPath(xml.getStringProperty("selImagePath"));
|
|
285 | 285 |
setLineWidth(xml.getDoubleProperty("lineWidth")); |
286 | 286 |
setXScale(xml.getDoubleProperty("xScale")); |
287 | 287 |
setYScale(xml.getDoubleProperty("yScale")); |
Also available in: Unified diff