Revision 9502
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/dialogs/WFSPropsDialog.java | ||
---|---|---|
78 | 78 |
* |
79 | 79 |
* $Id$ |
80 | 80 |
* $Log$ |
81 |
* Revision 1.24 2006-12-29 09:24:50 ppiqueras |
|
81 |
* Revision 1.25 2006-12-29 12:28:29 ppiqueras |
|
82 |
* El anterior commit: refactorización unos métodos. |
|
83 |
* El commit actual: eliminado código comentado que sobraba. |
|
84 |
* |
|
85 |
* Revision 1.24 2006/12/29 09:24:50 ppiqueras |
|
82 | 86 |
* Cambios sin importancia. |
83 | 87 |
* |
84 | 88 |
* Revision 1.23 2006/12/26 10:26:03 ppiqueras |
... | ... | |
356 | 360 |
// else{ |
357 | 361 |
View activeView = (View) PluginServices.getMDIManager().getActiveWindow(); |
358 | 362 |
String layerName = null; |
359 |
// |
|
360 |
// // Don't update if the filter is incorrect |
|
361 |
// if (wfsParamsTabbedPane.getFilterQuery() != null) { |
|
362 |
// layerName = fLayer.getName(); |
|
363 |
//// View activeView = (View) PluginServices.getMDIManager().getActiveWindow(); |
|
364 |
// VectorialLegend legend = (VectorialLegend)((FLyrVect)fLayer).getLegend(); |
|
365 |
// FMapWFSDriver driver = wfsParamsTabbedPane.getDriver(); |
|
366 |
// try { |
|
367 |
// fLayer = wfsParamsTabbedPane.getLayer(); |
|
368 |
// URL host = new URL(wfsParamsTabbedPane.getData().getHost()); |
|
369 |
// String onlineResource = wfsParamsTabbedPane.getData().getOnlineResource(); |
|
370 |
// fLayer = new FLyrWFSFactory().getFLyrWFS(fLayer,host,onlineResource,driver,true); |
|
371 |
// if (fLayer != null){ |
|
372 |
// ((FLyrWFS)fLayer).setLegend(legend); |
|
373 |
// |
|
374 |
// // Update all fields and values known about the current layer loaded (and selected) |
|
375 |
// ((FLyrWFS)fLayer).setAllFieldsAndValuesKnown(wfsParamsTabbedPane.getAllFieldsAndValuesKnownOfCurrentLayer()); |
|
376 |
// } |
|
377 |
// } catch (MalformedURLException e1) { |
|
378 |
// e1.printStackTrace(); |
|
379 |
// } catch (FieldNotFoundException e1) { |
|
380 |
// e1.printStackTrace(); |
|
381 |
// } catch (DriverException e1) { |
|
382 |
// e1.printStackTrace(); |
|
383 |
// } |
|
384 |
// } |
|
385 |
|
|
363 |
|
|
386 | 364 |
if (e.getActionCommand() == "APPLY") { |
387 | 365 |
// We can't 'apply' if there is a filter query and it's incorrect |
388 | 366 |
if (wfsParamsTabbedPane.getFilterQuery() != null) { |
Also available in: Unified diff