Revision 41174
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.symbology/org.gvsig.symbology.lib/org.gvsig.symbology.lib.impl/src/main/java/org/gvsig/symbology/fmap/mapcontext/rendering/legend/styling/LabelClass.java | ||
---|---|---|
145 | 145 |
private static final GeometryManager geomManager = GeometryLocator.getGeometryManager(); |
146 | 146 |
private static final Logger logger = LoggerFactory.getLogger(GeometryManager.class); |
147 | 147 |
private static final String LABEL_CLASS_PERSISTENCE_DEFINITION_NAME = "LabelClass"; |
148 |
private String name;
|
|
148 |
private String theName = "";
|
|
149 | 149 |
private ITextSymbol textSymbol; |
150 | 150 |
private String[] labelExpressions = new String[0]; |
151 | 151 |
private boolean isVisible = true; |
... | ... | |
274 | 274 |
* |
275 | 275 |
*/ |
276 | 276 |
public String getName() { |
277 |
return name;
|
|
277 |
return theName;
|
|
278 | 278 |
} |
279 | 279 |
|
280 | 280 |
/** |
... | ... | |
282 | 282 |
* @param name |
283 | 283 |
*/ |
284 | 284 |
public void setName(String name) { |
285 |
this.name = name; |
|
285 |
if (name == null) { |
|
286 |
theName = ""; |
|
287 |
} else { |
|
288 |
theName = name; |
|
289 |
} |
|
286 | 290 |
} |
287 | 291 |
|
288 | 292 |
public String toString() { |
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.labeling.app/org.gvsig.labeling.app.mainplugin/src/main/java/org/gvsig/labeling/placements/LinePlacementConstraints.java | ||
---|---|---|
97 | 97 |
public LinePlacementConstraints() { |
98 | 98 |
super(); |
99 | 99 |
setPlacementMode(PARALLEL); |
100 |
setAboveTheLine(true); |
|
100 | 101 |
setLocationAlongTheLine(IPlacementConstraints.AT_THE_MIDDLE_OF_THE_LINE); |
101 | 102 |
setPageOriented(true); |
102 | 103 |
} |
Also available in: Unified diff