Revision 37921
trunk/extensions/extSelectionTools/src/org/gvsig/selectionTools/tools/buffer/gui/BufferConfigurationPanel.java | ||
---|---|---|
544 | 544 |
} |
545 | 545 |
} |
546 | 546 |
|
547 |
view.getTOC().getComponent().setVisible(false);
|
|
548 |
view.getTOC().getComponent().setVisible(true);
|
|
547 |
// view.getTOC().setVisible(false);
|
|
548 |
// view.getTOC().setVisible(true);
|
|
549 | 549 |
} |
550 | 550 |
|
551 | 551 |
/* 6- Writes in the gvSIG log the results of the process */ |
trunk/extensions/extSelectionTools/src/org/gvsig/selectionTools/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