String typeName = live.getFeatureType().getTypeName();
Transaction autoCommit = Transaction.AUTO_COMMIT;
if (origional != null) {
ReferencedEnvelope bounds = new ReferencedEnvelope();
bounds.include(live.getBounds());
bounds.include(origional.getBounds());
state.fireFeatureUpdated(featureSource, live, bounds);
//store.listenerManager.fireFeaturesChanged(typeName, autoCommit, bounds, false);
} else {
state.fireFeatureAdded(featureSource, live);
// store.listenerManager.fireFeaturesAdded(typeName, autoCommit, ReferencedEnvelope.reference(live.getBounds()), false);