Revision 37921 trunk/extensions/extSelectionTools/src/org/gvsig/selectionTools/SelectByBufferExtension.java
SelectByBufferExtension.java | ||
---|---|---|
130 | 130 |
if (f instanceof View) { |
131 | 131 |
View vista = (View) f; |
132 | 132 |
IProjectView model = vista.getModel(); |
133 |
if (model == null) |
|
134 |
return false; |
|
133 | 135 |
MapContext mapa = model.getMapContext(); |
134 | 136 |
|
135 | 137 |
return mapa.getLayers().getLayersCount() > 0; |
Also available in: Unified diff