Revision 3883 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/RectangleCADTool.java

View differences:

RectangleCADTool.java
66 66
     * Crea un nuevo LineCADTool.
67 67
     */
68 68
    public RectangleCADTool() {
69
        _fsm = new RectangleCADToolContext(this);
69

  
70 70
    }
71 71

  
72 72
    /**
......
74 74
     * carga previa a la utilizaci?n de la herramienta.
75 75
     */
76 76
    public void init() {
77
    	_fsm = new RectangleCADToolContext(this);
77 78
    }
78 79

  
79 80
    /* (non-Javadoc)
80
     * @see com.iver.cit.gvsig.gui.cad.CADTool#end()
81
     */
82
    public void end() {
83
        _fsm = new RectangleCADToolContext(this);
84
        firstPoint = null;
85
    }
86

  
87
    /* (non-Javadoc)
88 81
     * @see com.iver.cit.gvsig.gui.cad.CADTool#transition(com.iver.cit.gvsig.fmap.layers.FBitSet, double, double)
89 82
     */
90 83
    public void transition(double x, double y) {
......
233 226
     */
234 227
    public void addValue(double d) {
235 228
    }
229

  
236 230
}

Also available in: Unified diff