Revision 9152

View differences:

branches/v10/extensions/extWFS2/src/com/iver/cit/gvsig/gui/dialogs/WFSPropsDialog.java
78 78
 *
79 79
 * $Id$
80 80
 * $Log$
81
 * Revision 1.4.2.7  2006-11-28 08:04:12  jorpiell
82
 * Se refercan los mapas despu?s de modificar una capa WFS
81
 * Revision 1.4.2.8  2006-12-04 09:38:51  ppiqueras
82
 * Bug corregido
83 83
 *
84
 * Revision 1.4.2.6  2006/11/17 11:28:45  ppiqueras
85
 * Corregidos bugs y añadida nueva funcionalidad.
84
 * Revision 1.15  2006/12/04 08:59:47  ppiqueras
85
 * Algunos bugs corregidos. A cambio hay 2 bugs relacionados que todavía no han sido corregidos (ver PHPCollab) (los tiene asignados Jorge).
86 86
 *
87
 * Revision 1.14  2006/11/28 08:05:31  jorpiell
88
 * Se refrescan los mapas despu?s de aplicar un filtro
89
 *
87 90
 * Revision 1.13  2006/11/16 16:57:49  jorpiell
88 91
 * Se copia la laeyenda de la capa anterior antes de eliminarla
89 92
 *
......
356 359
						 MapControl mapCtrl = vista.getMapControl();
357 360
				
358 361
						 mapCtrl.getMapContext().getLayers().replaceLayer(layerName, fLayer);
359
						 wfsParamsTabbedPane.updateWFSFilterFieldValues();
362
						 
360 363
						 mapCtrl.getMapContext().invalidate();
361 364
						 applied = true;
362
						 getBtnApply().setEnabled(!applied); 
363
						 refreshLayouts();
365
						 getBtnApply().setEnabled(!applied);
366
						 refreshLayouts();						 
367

  
368
						 // If we load another layer, or the same but we've selected others attributes -> notify it to he WFSFilter panel
369
						 if (getWFSFilterPanelIsAsTabForWFSLayersLoad() || (wfsParamsTabbedPane.getAttributesSelectedOfSameLayerHasChanged())) {
370
							 setWFSFilterPanelIsAsTabForWFSLayersLoad(false);
371
							 wfsParamsTabbedPane.resetAttributesSelectedOfSameLayerHasChanged(); // reset that attribute
372
					 	}
373
						 
374
						 wfsParamsTabbedPane.updateWFSFilterFieldValues();
364 375
					 }
365 376
				 }
366 377
				 if (e.getActionCommand() == "OK") {
......
404 415
	 */
405 416
	public void setWFSFilterPanelIsAsTabForWFSLayersLoad(boolean b) {
406 417
		this.wfsParamsTabbedPane.setWFSFilterPanelIsAsTabForWFSLayersLoad(b);
407
	}	
418
	}
408 419
	
409 420
	/**
421
	 * @see WFSFilterPanel#getWFSFilterPanelIsAsTabForWFSLayersLoad()
422
	 */
423
	public boolean getWFSFilterPanelIsAsTabForWFSLayersLoad() {
424
		return this.wfsParamsTabbedPane.getWFSFilterPanelIsAsTabForWFSLayersLoad();
425
	}
426
	
427
	/**
410 428
	 * Refresh the layouts
411 429
	 *
412 430
	 */

Also available in: Unified diff