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

View differences:

ArcCADTool.java
67 67
     * Crea un nuevo LineCADTool.
68 68
     */
69 69
    public ArcCADTool() {
70
        _fsm = new ArcCADToolContext(this);
71 70
    }
72 71

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

  
80 80
    /* (non-Javadoc)
81
     * @see com.iver.cit.gvsig.gui.cad.CADTool#end()
82
     */
83
    public void end() {
84
        _fsm = new ArcCADToolContext(this);
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) {
......
102 95
     * @see com.iver.cit.gvsig.gui.cad.CADTool#transition(com.iver.cit.gvsig.fmap.layers.FBitSet, java.lang.String)
103 96
     */
104 97
    public void transition(String s) {
105
        //_fsm.addOption(sel,s);
98
        ((ArcCADToolContext)_fsm).addOption(s);
106 99
    }
107 100

  
108 101
    /**
......
182 175
     */
183 176
    public void addValue(double d) {
184 177
    }
178

  
185 179
}

Also available in: Unified diff