Revision 10777
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSFilterPanel.java | ||
---|---|---|
1114 | 1114 |
} |
1115 | 1115 |
} |
1116 | 1116 |
} |
1117 |
else { |
|
1118 |
// If there is no geometry field (that is the root) -> don't load the layer |
|
1119 |
JOptionPane.showMessageDialog(null, PluginServices.getText(null, "gvSIG_cant_load_the_layer_because_hasnt_geometry"), PluginServices.getText(null, "error"), JOptionPane.ERROR_MESSAGE); |
|
1120 |
return false; |
|
1121 |
} |
|
1122 | 1117 |
} |
1123 | 1118 |
return true; |
1124 | 1119 |
} |
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSSelectFeaturePanel.java | ||
---|---|---|
5 | 5 |
import java.awt.event.MouseEvent; |
6 | 6 |
|
7 | 7 |
import javax.swing.JCheckBox; |
8 |
import javax.swing.JOptionPane; |
|
8 | 9 |
import javax.swing.JPanel; |
9 | 10 |
import javax.swing.JScrollPane; |
10 | 11 |
import javax.swing.JTextField; |
... | ... | |
59 | 60 |
* |
60 | 61 |
* $Id$ |
61 | 62 |
* $Log$ |
62 |
* Revision 1.17 2007-03-05 13:49:42 ppiqueras |
|
63 |
* Revision 1.18 2007-03-15 13:34:16 ppiqueras |
|
64 |
* Eliminado mensaje de aviso no necesario. |
|
65 |
* |
|
66 |
* Revision 1.17 2007/03/05 13:49:42 ppiqueras |
|
63 | 67 |
* Si una capa WFS no tiene campos (y por tanto no tiene un campo obligatorio de tipo geometr?a), que avise al usuario y no permita que se intente cargar dicha capa. |
64 | 68 |
* |
65 | 69 |
* Revision 1.16 2007/02/22 12:25:09 ppiqueras |
... | ... | |
195 | 199 |
if (e.getValueIsAdjusting() == false) { |
196 | 200 |
// Indicate that now we are loading a new layer |
197 | 201 |
parent.setWFSFilterPanelIsAsTabForWFSLayersLoad(true); |
202 |
|
|
198 | 203 |
refreshData(); |
199 | 204 |
} |
200 | 205 |
} |
Also available in: Unified diff