Revision 30358
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/Project.java | ||
---|---|---|
1200 | 1200 |
sortDocKeys[i].setXMLEntity(xml.getChild(sortDocValues[i] |
1201 | 1201 |
.intValue())); |
1202 | 1202 |
} catch (OpenException e) { |
1203 |
p.delDocument(sortDocKeys[i]); |
|
1203 | 1204 |
XMLEntity childXML=xml.getChild(sortDocValues[i].intValue()); |
1204 | 1205 |
e.showMessageError(childXML.getName()+"\n "+childXML.getStringProperty("className")); |
1205 | 1206 |
} |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/table/gui/TableModelProperties.java | ||
---|---|---|
93 | 93 |
*/ |
94 | 94 |
public int getRowCount() { |
95 | 95 |
try { |
96 |
if (table.getModelo()==null) |
|
97 |
return 0; |
|
96 | 98 |
return table.getModelo().getRecordset().getFieldCount(); |
97 | 99 |
} catch (ReadDriverException e) { |
98 | 100 |
NotificationManager.addError("No se pudo leer la informaci?n de la tabla", e); |
... | ... | |
108 | 110 |
return new Boolean(visibles.get(rowIndex)); |
109 | 111 |
} else if (columnIndex == 1) { |
110 | 112 |
try { |
113 |
if (table.getModelo()==null) |
|
114 |
return "error!"; |
|
111 | 115 |
return table.getModelo().getRecordset().getFieldName(rowIndex); |
112 | 116 |
} catch (ReadDriverException e) { |
113 | 117 |
NotificationManager.addError("Error accediendo al nombre del campo", e); |
Also available in: Unified diff