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