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/PolygonPlacementConstraints.java

View differences:

PolygonPlacementConstraints.java
80 80
*/
81 81
package org.gvsig.labeling.placements;
82 82

  
83
import com.iver.utiles.XMLEntity;
84 83
/**
85 84
 *
86 85
 * @author jaume dominguez faus - jaume.dominguez@iver.es
......
91 90
		setPlacementMode(HORIZONTAL);
92 91
	}
93 92

  
94
	public String getClassName() {
95
		return getClass().getName();
96
	}
97 93

  
98
	public XMLEntity getXMLEntity() {
99
		XMLEntity xml = super.getXMLEntity();
100
		xml.putProperty("className", getClassName());
101
		return xml;
102
	}
103 94

  
104 95
}

Also available in: Unified diff