Revision 10778
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/fieldsTree/FieldsTreeTable.java | ||
---|---|---|
56 | 56 |
* |
57 | 57 |
* $Id$ |
58 | 58 |
* $Log$ |
59 |
* Revision 1.2 2007-02-19 11:44:42 jorpiell |
|
59 |
* Revision 1.3 2007-03-15 13:35:47 ppiqueras |
|
60 |
* Corregido bug: lanzaba una excepci?n en el m?todo de b?squeda de campo geometr?a cuando el nodo era null. |
|
61 |
* |
|
62 |
* Revision 1.2 2007/02/19 11:44:42 jorpiell |
|
60 | 63 |
* Añadidos los filtros por área |
61 | 64 |
* |
62 | 65 |
* Revision 1.1 2006/12/26 09:12:48 ppiqueras |
... | ... | |
189 | 192 |
if (obj.nodeForRow(i) instanceof CheckBoxNode){ |
190 | 193 |
CheckBoxNode node = (CheckBoxNode)obj.nodeForRow(i); |
191 | 194 |
XMLElement element = node.getElement(); |
192 |
if (element.getEntityType().getType() == IXMLType.GML_GEOMETRY){ |
|
193 |
return element.getName(); |
|
195 |
if (element.getEntityType() != null) { |
|
196 |
if (element.getEntityType().getType() == IXMLType.GML_GEOMETRY){ |
|
197 |
return element.getName(); |
|
198 |
} |
|
194 | 199 |
} |
195 | 200 |
} |
196 | 201 |
} |
Also available in: Unified diff