Revision 39573 branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/gui/cad/tools/MatrixCADTool.java
MatrixCADTool.java | ||
---|---|---|
132 | 132 |
selection = (FeatureSet) getVLE().getFeatureStore().getSelection(); |
133 | 133 |
|
134 | 134 |
if (selection.getSize() == 0 |
135 |
&& !CADExtension |
|
136 |
.getCADTool() |
|
137 |
.getClass() |
|
138 |
.getName() |
|
139 |
.equals("com.iver.cit.gvsig.gui.cad.tools.SelectionCADTool")) { |
|
135 |
&& !SelectionCADTool.isInstance(CADExtension.getCADTool(), true)) { |
|
140 | 136 |
CADExtension.setCADTool("_selection", false); |
141 | 137 |
((SelectionCADTool) CADExtension.getCADTool()) |
142 | 138 |
.setNextTool("_matrix"); |
Also available in: Unified diff