Revision 7622
branches/v10/extensions/extWFS2/src/com/iver/cit/gvsig/gui/dialogs/WFSPropsDialog.java | ||
---|---|---|
71 | 71 |
* |
72 | 72 |
* $Id$ |
73 | 73 |
* $Log$ |
74 |
* Revision 1.4.2.2 2006-09-27 09:15:01 jorpiell |
|
74 |
* Revision 1.4.2.3 2006-09-27 11:12:15 jorpiell |
|
75 |
* Hay que comprobar que se han devuelto un n?mero de features menor que el n?mero m?ximo permitido |
|
76 |
* |
|
77 |
* Revision 1.4.2.2 2006/09/27 09:15:01 jorpiell |
|
75 | 78 |
* Ya no se hace otra petici?n al pulsar sobre el bot?n aceptar. |
76 | 79 |
* |
77 | 80 |
* Revision 1.4.2.1 2006/09/19 12:28:11 jorpiell |
... | ... | |
334 | 337 |
private boolean loadLayer(FLayer flayer){ |
335 | 338 |
try { |
336 | 339 |
((FLyrWFS)fLayer).load(); |
340 |
if (((FLyrWFS)fLayer).getNumfeatures() == ((FLyrWFS)fLayer).getWfsDriver().getRowCount()) { |
|
341 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(), |
|
342 |
PluginServices.getText(this,"maxFeatures_aviso")); |
|
343 |
} |
|
337 | 344 |
} catch (Exception e1) { |
338 | 345 |
// TODO Auto-generated catch block |
339 | 346 |
e1.printStackTrace(); |
branches/v10/extensions/extWFS2/src/com/iver/cit/gvsig/gui/wizards/WFSWizard.java | ||
---|---|---|
69 | 69 |
* |
70 | 70 |
* $Id$ |
71 | 71 |
* $Log$ |
72 |
* Revision 1.14 2006-09-03 13:25:04 jorpiell |
|
72 |
* Revision 1.14.2.1 2006-09-27 11:12:14 jorpiell |
|
73 |
* Hay que comprobar que se han devuelto un n?mero de features menor que el n?mero m?ximo permitido |
|
74 |
* |
|
75 |
* Revision 1.14 2006/09/03 13:25:04 jorpiell |
|
73 | 76 |
* Los servidores se guardan ahora en el plugin-persistence como WFS |
74 | 77 |
* |
75 | 78 |
* Revision 1.13 2006/08/30 07:42:29 jorpiell |
... | ... | |
627 | 630 |
layer.setProjection(activeView.getMapControl().getViewPort().getProjection()); |
628 | 631 |
try { |
629 | 632 |
layer.load(); |
633 |
if (layer.getNumfeatures() == layer.getWfsDriver().getRowCount()) { |
|
634 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(), |
|
635 |
PluginServices.getText(this,"maxFeatures_aviso")); |
|
636 |
} |
|
630 | 637 |
} catch (Exception e) { |
631 | 638 |
// TODO Auto-generated catch block |
632 | 639 |
Logger.getLogger(getClass().getName()).error(e.getMessage()); |
Also available in: Unified diff