Revision 5485 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ThemeToAnnotationExtension.java
ThemeToAnnotationExtension.java | ||
---|---|---|
110 | 110 |
|
111 | 111 |
mapping.setColumnText(source.getFieldIndexByName(panel1.getField())); |
112 | 112 |
|
113 |
if (!panel2.getAngleFieldName().equals("")) {
|
|
113 |
if (!panel2.getAngleFieldName().equals(ConfigureLabel.TEXT_FOR_DEFAULT_VALUE)) {
|
|
114 | 114 |
mapping.setColumnRotate(source.getFieldIndexByName(panel2.getAngleFieldName())); |
115 | 115 |
} |
116 | 116 |
|
117 |
if (!panel2.getColorFieldName().equals("")) {
|
|
117 |
if (!panel2.getColorFieldName().equals(ConfigureLabel.TEXT_FOR_DEFAULT_VALUE)) {
|
|
118 | 118 |
mapping.setColumnColor(source.getFieldIndexByName(panel2.getColorFieldName())); |
119 | 119 |
} |
120 | 120 |
|
121 |
if (!panel2.getSizeFieldName().equals("")) { |
|
122 |
mapping.setColumnHeight(source.getFieldIndexByName(panel2.getSizeFieldName())); |
|
123 |
this.layerAnnotation.setInPixels(panel2.sizeUnitsInPixels()); |
|
121 |
if (!panel2.getSizeFieldName().equals(ConfigureLabel.TEXT_FOR_DEFAULT_VALUE)) { |
|
122 |
mapping.setColumnHeight(source.getFieldIndexByName(panel2.getSizeFieldName())); |
|
124 | 123 |
} |
124 |
this.layerAnnotation.setInPixels(panel2.sizeUnitsInPixels()); |
|
125 | 125 |
|
126 |
if (!panel2.getFontFieldName().equals("")) {
|
|
126 |
if (!panel2.getFontFieldName().equals(ConfigureLabel.TEXT_FOR_DEFAULT_VALUE)) {
|
|
127 | 127 |
mapping.setColumnTypeFont(source.getFieldIndexByName(panel2.getFontFieldName())); |
128 | 128 |
} |
129 | 129 |
} catch (com.iver.cit.gvsig.fmap.DriverException e) { |
Also available in: Unified diff