mirror of https://github.com/Minres/RDL-Editor.git
22 lines
740 B
Java
22 lines
740 B
Java
/*
|
|
* generated by Xtext 2.26.0
|
|
*/
|
|
package com.minres.rdl.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;
|
|
|
|
public class RDLConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
|
|
protected static final String ISSUE_CODE_PREFIX = "com.minres.rdl.";
|
|
|
|
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));
|
|
}
|
|
}
|