Revision 44111 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/editing/memory/FeatureManager.java
FeatureManager.java | ||
---|---|---|
206 | 206 |
|
207 | 207 |
} |
208 | 208 |
|
209 |
public long getPendingChangesCount() { |
|
210 |
long count = 0; |
|
211 |
if( this.added!=null ) { |
|
212 |
count += this.added.size(); |
|
213 |
} |
|
214 |
if( this.deleted!=null ) { |
|
215 |
count += this.deleted.size(); |
|
216 |
} |
|
217 |
if( this.modifiedFromOriginal!=null ) { |
|
218 |
count += this.modifiedFromOriginal.size(); |
|
219 |
} |
|
220 |
return count; |
|
221 |
} |
|
222 |
|
|
209 | 223 |
private class DeletedIterator implements Iterator { |
210 | 224 |
|
211 | 225 |
private Boolean hasnext = null; |
Also available in: Unified diff