Revision 29540
trunk/extensions/extCatalogAndGazetteer/src/es/gva/cit/gvsig/gazetteer/DeleteSearchesExtension.java | ||
---|---|---|
4 | 4 |
|
5 | 5 |
import com.iver.andami.PluginServices; |
6 | 6 |
import com.iver.andami.plugins.Extension; |
7 |
import com.iver.cit.gvsig.exceptions.layers.ReloadLayerException; |
|
7 | 8 |
import com.iver.cit.gvsig.fmap.layers.GraphicLayer; |
8 | 9 |
import com.iver.cit.gvsig.project.documents.view.gui.BaseView; |
9 | 10 |
|
... | ... | |
166 | 167 |
(BaseView) PluginServices.getMDIManager().getActiveWindow(); |
167 | 168 |
GraphicLayer lyr = activeView.getMapControl().getMapContext().getGraphicsLayer(); |
168 | 169 |
lyr.clearAllGraphics(); |
169 |
activeView.getMapControl().getViewPort().setExtent(activeView.getMapControl().getViewPort().getExtent());
|
|
170 |
views.put(activeView,new Boolean(false)); |
|
170 |
activeView.getMapControl().drawMap(false);
|
|
171 |
views.put(activeView,new Boolean(false));
|
|
171 | 172 |
} |
172 | 173 |
|
173 | 174 |
/** |
Also available in: Unified diff