Revision 5735 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/ArcCADTool.java
ArcCADTool.java | ||
---|---|---|
51 | 51 |
import com.iver.cit.gvsig.fmap.core.ShapeFactory; |
52 | 52 |
import com.iver.cit.gvsig.gui.cad.CADTool; |
53 | 53 |
import com.iver.cit.gvsig.gui.cad.DefaultCADTool; |
54 |
import com.iver.cit.gvsig.gui.cad.exception.CommadException; |
|
55 |
import com.iver.cit.gvsig.gui.cad.exception.OptionException; |
|
56 |
import com.iver.cit.gvsig.gui.cad.exception.PointException; |
|
57 |
import com.iver.cit.gvsig.gui.cad.exception.ValueException; |
|
54 |
import com.iver.cit.gvsig.gui.cad.exception.CommandException; |
|
58 | 55 |
import com.iver.cit.gvsig.gui.cad.tools.smc.ArcCADToolContext; |
59 | 56 |
import com.iver.cit.gvsig.gui.cad.tools.smc.ArcCADToolContext.ArcCADToolState; |
60 | 57 |
|
... | ... | |
95 | 92 |
* @see com.iver.cit.gvsig.gui.cad.CADTool#transition(com.iver.cit.gvsig.fmap.layers.FBitSet, double) |
96 | 93 |
*/ |
97 | 94 |
public void transition(double d){ |
98 |
//_fsm.addValue(sel,d);
|
|
95 |
_fsm.addValue(d);
|
|
99 | 96 |
} |
100 | 97 |
|
101 | 98 |
/* (non-Javadoc) |
102 | 99 |
* @see com.iver.cit.gvsig.gui.cad.CADTool#transition(com.iver.cit.gvsig.fmap.layers.FBitSet, java.lang.String) |
103 | 100 |
*/ |
104 |
public void transition(String s) throws CommadException { |
|
101 |
public void transition(String s) throws CommandException {
|
|
105 | 102 |
if (!super.changeCommand(s)){ |
106 | 103 |
_fsm.addOption(s); |
107 | 104 |
} |
Also available in: Unified diff