Revision 11434 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/RectangleCADTool.java
RectangleCADTool.java | ||
---|---|---|
49 | 49 |
import com.iver.cit.gvsig.fmap.core.FShape; |
50 | 50 |
import com.iver.cit.gvsig.fmap.core.GeneralPathX; |
51 | 51 |
import com.iver.cit.gvsig.fmap.core.ShapeFactory; |
52 |
import com.iver.cit.gvsig.gui.cad.CADTool; |
|
53 | 52 |
import com.iver.cit.gvsig.gui.cad.DefaultCADTool; |
54 | 53 |
import com.iver.cit.gvsig.gui.cad.exception.CommandException; |
55 | 54 |
import com.iver.cit.gvsig.gui.cad.tools.smc.RectangleCADToolContext; |
... | ... | |
184 | 183 |
elShape.lineTo(firstPoint.getX(), firstPoint.getY()); |
185 | 184 |
ShapeFactory.createPolyline2D(elShape).draw((Graphics2D) g, |
186 | 185 |
getCadToolAdapter().getMapControl().getViewPort(), |
187 |
CADTool.drawingSymbol); |
|
186 |
DefaultCADTool.drawingSymbol);
|
|
188 | 187 |
} else if (status == "Rectangle.SecondPointSquare") { |
189 | 188 |
GeneralPathX elShape = new GeneralPathX(GeneralPathX.WIND_EVEN_ODD, |
190 | 189 |
4); |
... | ... | |
206 | 205 |
|
207 | 206 |
ShapeFactory.createPolyline2D(elShape).draw((Graphics2D) g, |
208 | 207 |
getCadToolAdapter().getMapControl().getViewPort(), |
209 |
CADTool.drawingSymbol); |
|
208 |
DefaultCADTool.drawingSymbol);
|
|
210 | 209 |
} |
211 | 210 |
} |
212 | 211 |
|
Also available in: Unified diff