Revision 9023
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/dialogs/WFSPropsDialog.java | ||
---|---|---|
27 | 27 |
import com.iver.cit.gvsig.fmap.layers.FLyrWFSFactory; |
28 | 28 |
import com.iver.cit.gvsig.fmap.layers.WFSLayerNode; |
29 | 29 |
import com.iver.cit.gvsig.fmap.rendering.VectorialLegend; |
30 |
import com.iver.cit.gvsig.gui.layout.Layout; |
|
30 | 31 |
import com.iver.cit.gvsig.gui.panels.WFSParamsPanel; |
31 | 32 |
import com.iver.cit.gvsig.gui.wizards.WFSWizardData; |
32 | 33 |
import com.iver.cit.gvsig.gui.wizards.WizardListener; |
... | ... | |
77 | 78 |
* |
78 | 79 |
* $Id$ |
79 | 80 |
* $Log$ |
80 |
* Revision 1.13 2006-11-16 16:57:49 jorpiell |
|
81 |
* Revision 1.14 2006-11-28 08:05:31 jorpiell |
|
82 |
* Se refrescan los mapas despu?s de aplicar un filtro |
|
83 |
* |
|
84 |
* Revision 1.13 2006/11/16 16:57:49 jorpiell |
|
81 | 85 |
* Se copia la laeyenda de la capa anterior antes de eliminarla |
82 | 86 |
* |
83 | 87 |
* Revision 1.12 2006/11/14 13:45:49 ppiqueras |
... | ... | |
352 | 356 |
wfsParamsTabbedPane.updateWFSFilterFieldValues(); |
353 | 357 |
mapCtrl.getMapContext().invalidate(); |
354 | 358 |
applied = true; |
355 |
getBtnApply().setEnabled(!applied); |
|
359 |
getBtnApply().setEnabled(!applied); |
|
360 |
refreshLayouts(); |
|
356 | 361 |
} |
357 | 362 |
} |
358 | 363 |
if (e.getActionCommand() == "OK") { |
... | ... | |
363 | 368 |
MapControl mapCtrl = vista.getMapControl(); |
364 | 369 |
mapCtrl.getMapContext().getLayers().replaceLayer(layerName, fLayer); |
365 | 370 |
mapCtrl.getMapContext().invalidate(); |
371 |
refreshLayouts(); |
|
366 | 372 |
} |
367 | 373 |
} |
368 | 374 |
} |
... | ... | |
396 | 402 |
public void setWFSFilterPanelIsAsTabForWFSLayersLoad(boolean b) { |
397 | 403 |
this.wfsParamsTabbedPane.setWFSFilterPanelIsAsTabForWFSLayersLoad(b); |
398 | 404 |
} |
405 |
|
|
406 |
/** |
|
407 |
* Refresh the layouts |
|
408 |
* |
|
409 |
*/ |
|
410 |
private void refreshLayouts(){ |
|
411 |
IWindow[] windows = PluginServices.getMDIManager().getAllWindows(); |
|
412 |
for (int i=0 ; i<windows.length ; i++){ |
|
413 |
if (windows[i] instanceof Layout){ |
|
414 |
((Layout)windows[i]).fullRefresh(); |
|
415 |
} |
|
416 |
} |
|
417 |
} |
|
399 | 418 |
} |
400 | 419 |
|
Also available in: Unified diff