Revision 12040 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/AnnotationEditableAdapter.java
AnnotationEditableAdapter.java | ||
---|---|---|
186 | 186 |
///lyrAnnotation.deleteSpatialIndex(); |
187 | 187 |
|
188 | 188 |
int calculatedIndex = -1; |
189 |
calculatedIndex = (int) getRowCount()+delRows.cardinality() ; |
|
189 |
try { |
|
190 |
calculatedIndex = (int) getNewIndex() ; |
|
191 |
} catch (com.hardcode.gdbms.engine.data.driver.DriverException e) { |
|
192 |
throw new DriverIOException(e); |
|
193 |
} |
|
190 | 194 |
|
191 | 195 |
int pos = expansionFile.addRow(feat, IRowEdited.STATUS_ADDED, actualIndexFields); |
192 | 196 |
labelExpansion.addLabel(label); |
Also available in: Unified diff