Revision 1657
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameSymbol.java | ||
---|---|---|
49 | 49 |
import com.iver.cit.gvsig.fmap.DriverException; |
50 | 50 |
import com.iver.cit.gvsig.fmap.core.v02.FGraphicUtilities; |
51 | 51 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
52 |
import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D; |
|
53 |
import com.iver.cit.gvsig.fmap.rendering.styling.SymbolPreviewDrawer; |
|
54 | 52 |
import com.iver.cit.gvsig.gui.layout.Layout; |
55 | 53 |
|
56 | 54 |
import com.iver.utiles.XMLEntity; |
... | ... | |
98 | 96 |
mT2.setToIdentity(); |
99 | 97 |
|
100 | 98 |
Rectangle rec = new Rectangle((int) re.x, (int) re.y, |
101 |
(int) (re.width), (int) (re.height)); |
|
99 |
(int) (re.width), (int) (re.height)); |
|
100 |
|
|
102 | 101 |
//SymbolPreviewDrawer pSD = new SymbolPreviewDrawer(m_Symbol); |
103 | 102 |
//pSD.draw(g, r, m_type); |
104 |
|
|
105 | 103 |
FGraphicUtilities.DrawSymbol((Graphics2D) g, mT2, rec, m_Symbol); |
106 | 104 |
} |
107 | 105 |
} |
... | ... | |
122 | 120 |
*/ |
123 | 121 |
public XMLEntity getXMLEntity() { |
124 | 122 |
XMLEntity xml = new XMLEntity(); |
125 |
xml.putProperty("className",this.getClass().getName()); |
|
123 |
xml.putProperty("className", this.getClass().getName());
|
|
126 | 124 |
xml.putProperty("m_name", m_name); |
127 | 125 |
xml.putProperty("x", getBoundBox().x); |
128 | 126 |
xml.putProperty("y", getBoundBox().y); |
... | ... | |
133 | 131 |
xml.putProperty("tag", getTag()); |
134 | 132 |
|
135 | 133 |
xml.addChild(m_Symbol.getXMLEntity()); |
134 |
|
|
136 | 135 |
return xml; |
137 | 136 |
} |
138 | 137 |
|
Also available in: Unified diff