Revision 39573 branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/gui/cad/tools/MoveCADTool.java
MoveCADTool.java | ||
---|---|---|
109 | 109 |
selection = (FeatureSet) getVLE().getFeatureStore().getSelection(); |
110 | 110 |
|
111 | 111 |
if (selection.getSize() == 0 |
112 |
&& !CADExtension |
|
113 |
.getCADTool() |
|
114 |
.getClass() |
|
115 |
.getName() |
|
116 |
.equals("com.iver.cit.gvsig.gui.cad.tools.SelectionCADTool")) { |
|
112 |
&& !SelectionCADTool.isInstance(CADExtension.getCADTool(), true)) { |
|
117 | 113 |
CADExtension.setCADTool("_selection", false); |
118 | 114 |
((SelectionCADTool) CADExtension.getCADTool()) |
119 | 115 |
.setNextTool("_move"); |
Also available in: Unified diff