Revision 21299 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/gui/dialogs/FFrameGraphicsDialog.java

View differences:

FFrameGraphicsDialog.java
46 46

  
47 47
import java.awt.geom.Rectangle2D;
48 48

  
49
import org.gvsig.fmap.core.geometries.utils.FConstant;
49
import org.gvsig.fmap.geom.Geometry;
50 50
import org.gvsig.fmap.mapcontext.rendering.symbols.FSymbol;
51 51

  
52 52
import com.iver.andami.PluginServices;
......
163 163
						//boolean exists=m_layout.getLayoutContext().getEFS().modifyFFrame(fframegraphics,fframeAux);
164 164
						//if (!exists) {
165 165
							newFFrameGraphics.setBoundBox(fframegraphics.getBoundBox());
166
							if (getSymbol().getSymbolType() == FConstant.SYMBOL_TYPE_POINT)
166
							if (getSymbol().getSymbolType() == Geometry.TYPES.POINT)
167 167
//								newFFrameGraphics.setSize(FLayoutUtilities.toSheetDistance(Integer.parseInt(getJTextField().getText()),m_layout.getLayoutControl().getAT()));
168 168
							newFFrameGraphics.setFSymbol(getSymbol());
169 169
							newFFrameGraphics.setRotation(getPRotation().getRotation());

Also available in: Unified diff