/** Ensures that added items have a unique ID */ @Override protected Command createAddCommand( EditingDomain domain, EObject owner, EStructuralFeature feature, Collection<?> collection, int index) { // Ensure that the ID is unique if it's a copy operation. collection = ReqIF10Util.ensureIdIsUnique(owner.eResource(), collection); return super.createAddCommand(domain, owner, feature, collection, index); }