Revision 40673 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
LinePlacementConstraints.java | ||
---|---|---|
80 | 80 |
*/ |
81 | 81 |
package org.gvsig.labeling.placements; |
82 | 82 |
|
83 |
import com.iver.cit.gvsig.fmap.rendering.styling.labeling.IPlacementConstraints;
|
|
84 |
import com.iver.utiles.XMLEntity; |
|
83 |
import org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints;
|
|
84 |
|
|
85 | 85 |
/** |
86 | 86 |
* |
87 | 87 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
... | ... | |
98 | 98 |
setPageOriented(false); |
99 | 99 |
} |
100 | 100 |
|
101 |
public String getClassName() { |
|
102 |
return getClass().getName(); |
|
103 |
} |
|
104 | 101 |
|
105 |
public XMLEntity getXMLEntity() { |
|
106 |
XMLEntity xml = super.getXMLEntity(); |
|
107 |
xml.putProperty("className", getClassName()); |
|
108 |
return xml; |
|
109 |
} |
|
110 |
|
|
111 |
|
|
112 |
// private TextPath getTreePath(Integer index, Graphics2D g, FShape shp, char[] text) { |
|
113 |
// TextPath tp = (TextPath) textPaths.get(index); |
|
114 |
// if (tp == null) { |
|
115 |
// tp = new TextPath(g, shp, text); |
|
116 |
// textPaths.put(index, tp); |
|
117 |
// } |
|
118 |
// return tp; |
|
119 |
// } |
|
120 | 102 |
} |
Also available in: Unified diff