Revision 12136
branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/table/gui/Table.java | ||
---|---|---|
1245 | 1245 |
}else { |
1246 | 1246 |
numRow=row; |
1247 | 1247 |
} |
1248 |
|
|
1248 | 1249 |
try { |
1250 |
getModel().getModelo().getRecordset().start(); |
|
1249 | 1251 |
IEditableSource des = pt.getModelo(); |
1250 | 1252 |
Object obj =null; |
1251 | 1253 |
IRowEdited rowEdited=des.getRow(numRow); |
1252 | 1254 |
obj= rowEdited.getAttribute(pt.getMapping()[col]); |
1255 |
getModel().getModelo().getRecordset().stop(); |
|
1253 | 1256 |
return obj; |
1257 |
|
|
1254 | 1258 |
} catch (DriverIOException e1) { |
1255 | 1259 |
e1.printStackTrace(); |
1256 | 1260 |
return ValueFactory.createValue("").toString(); |
1257 | 1261 |
} catch (IOException e1) { |
1258 | 1262 |
e1.printStackTrace(); |
1259 | 1263 |
return ValueFactory.createValue("").toString(); |
1264 |
} catch (DriverLoadException e) { |
|
1265 |
e.printStackTrace(); |
|
1266 |
return ValueFactory.createValue("").toString(); |
|
1267 |
} catch (DriverException e) { |
|
1268 |
e.printStackTrace(); |
|
1269 |
return ValueFactory.createValue("").toString(); |
|
1260 | 1270 |
} |
1261 | 1271 |
} |
1262 | 1272 |
|
Also available in: Unified diff