projet-mini-genie-logiciel-.../eclipse-workspace/fr.n7.pdl2/src-gen/fr/n7/validation/PDL2ConfigurableIssueCodesProvider.java
Laurent Fainsin de42fac315 TP7
2021-10-12 18:49:13 +02:00

23 lines
756 B
Java

/*
* generated by Xtext 2.23.0
*/
package fr.n7.validation;
import org.eclipse.xtext.preferences.PreferenceKey;
import org.eclipse.xtext.util.IAcceptor;
import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
import org.eclipse.xtext.validation.SeverityConverter;
@SuppressWarnings("restriction")
public class PDL2ConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
protected static final String ISSUE_CODE_PREFIX = "fr.n7.";
public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart";
@Override
protected void initialize(IAcceptor<PreferenceKey> acceptor) {
super.initialize(acceptor);
acceptor.accept(create(DEPRECATED_MODEL_PART, SeverityConverter.SEVERITY_WARNING));
}
}