Revision 9732

View differences:

trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSSelectFeaturePanel.java
57 57
 *
58 58
 * $Id$
59 59
 * $Log$
60
 * Revision 1.11  2006-12-15 13:57:34  ppiqueras
60
 * Revision 1.12  2007-01-15 14:16:22  ppiqueras
61
 * Corregido bug: no cargaba los campos al principio y además se ejecutaba más de una vez.
62
 *
63
 * Revision 1.11  2006/12/15 13:57:34  ppiqueras
61 64
 * eliminado un import que sobraba
62 65
 *
63 66
 * Revision 1.10  2006/12/12 10:24:45  ppiqueras
......
171 174
			lstFeatures.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
172 175
			lstFeatures.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
173 176
				public void valueChanged(javax.swing.event.ListSelectionEvent e) {
174
					refreshData();
175
					
176
					// Indicate that now we are loading a new layer
177
					parent.setWFSFilterPanelIsAsTabForWFSLayersLoad(true);
177
					// With this condition we force that the two lines only will be execute one time when user presses the JList
178
					if (e.getValueIsAdjusting() == false) {
179
						// Indicate that now we are loading a new layer
180
						parent.setWFSFilterPanelIsAsTabForWFSLayersLoad(true);
181
						refreshData();
182
					}
178 183
				}
179 184
			});
180 185
			

Also available in: Unified diff