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