Revision 5170 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/CopyCADTool.java
CopyCADTool.java | ||
---|---|---|
51 | 51 |
import com.iver.cit.gvsig.CADExtension; |
52 | 52 |
import com.iver.cit.gvsig.fmap.ViewPort; |
53 | 53 |
import com.iver.cit.gvsig.fmap.core.DefaultFeature; |
54 |
import com.iver.cit.gvsig.fmap.core.FShape; |
|
54 | 55 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
55 | 56 |
import com.iver.cit.gvsig.fmap.edition.DefaultRowEdited; |
56 | 57 |
import com.iver.cit.gvsig.fmap.edition.UtilFunctions; |
57 | 58 |
import com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter; |
58 | 59 |
import com.iver.cit.gvsig.gui.cad.DefaultCADTool; |
60 |
import com.iver.cit.gvsig.gui.cad.exception.CommadException; |
|
59 | 61 |
import com.iver.cit.gvsig.gui.cad.tools.smc.CopyCADToolContext; |
60 | 62 |
import com.iver.cit.gvsig.gui.cad.tools.smc.CopyCADToolContext.CopyCADToolState; |
61 | 63 |
import com.iver.cit.gvsig.layers.VectorialLayerEdited; |
... | ... | |
102 | 104 |
/* (non-Javadoc) |
103 | 105 |
* @see com.iver.cit.gvsig.gui.cad.CADTool#transition(com.iver.cit.gvsig.fmap.layers.FBitSet, java.lang.String) |
104 | 106 |
*/ |
105 |
public void transition(String s) { |
|
107 |
public void transition(String s) throws CommadException {
|
|
106 | 108 |
if (!super.changeCommand(s)){ |
107 | 109 |
_fsm.addOption(s); |
108 | 110 |
} |
... | ... | |
230 | 232 |
public String toString() { |
231 | 233 |
return "_copy"; |
232 | 234 |
} |
235 |
|
|
236 |
|
|
233 | 237 |
} |
Also available in: Unified diff