@@ -0,0 +1,901 @@
+package edu.kit.iti.formal.pse.worthwhile.validation;%0A%0Aimport org.eclipse.emf.ecore.EClass;%0Aimport org.eclipse.emf.ecore.EObject;%0Aimport org.eclipse.emf.ecore.EStructuralFeature;%0Aimport org.eclipse.xtext.resource.IEObjectDescription;%0Aimport org.eclipse.xtext.validation.NamesAreUniqueValidationHelper;%0A%0A/**%0A * A custom %7B@link NamesAreUniqueValidationHelper%7D with a specialized error message.%0A * %0A * @author Joachim%0A * %0A */%0Apublic class WorthwhileNamesAreUniqueValidationHelper extends NamesAreUniqueValidationHelper %7B%0A%0A%09@Override%0A%09public final String getDuplicateNameErrorMessage(final IEObjectDescription description,%0A%09                final EClass clusterType, final EStructuralFeature feature) %7B%0A%09%09EObject object = description.getEObjectOrProxy();%0A%09%09String shortName = String.valueOf(feature != null ? object.eGet(feature) : %22%3Cunnamed%3E%22);%0A%0A%09%09return %22Duplicate identifier '%22 + shortName + %22'%22;%0A%09%7D%0A%0A%7D%0A

Add needed file for 'names are unique' syntax error messages