All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.contextmapper.dsl.validation.ContextMappingDSLConfigurableIssueCodesProvider Maven / Gradle / Ivy

/*
 * generated by Xtext 2.21.0
 */
package org.contextmapper.dsl.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 ContextMappingDSLConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
	protected static final String ISSUE_CODE_PREFIX = "org.contextmapper.dsl.";

	public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart";

	@Override
	protected void initialize(IAcceptor acceptor) {
		super.initialize(acceptor);
		acceptor.accept(create(DEPRECATED_MODEL_PART, SeverityConverter.SEVERITY_WARNING));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy