io.sarl.lang.validation
Class ConfigurableIssueSeveritiesProvider
All Superinterfaces:
IConfigurableIssueSeveritiesProvider
@javax.inject.Singleton
class ConfigurableIssueSeveritiesProvider
extends java.lang.Object
implements IConfigurableIssueSeveritiesProvider
A configurable issue severity provider.

This issue severity provider provides a public API for dynamically and programmatically changing the severity of the issues. For the Eclipse implementation of the provider, the standard severity provider gets the severity levels from the preferences. But, this configurable issue severity provider should not change the preferences. The contract is to have internal overriding of the preferences in this provider.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.5
Property Summary
Modifier and type Property and description
protected org.eclipse.xtext.preferences.IPreferenceValuesProvider valuesProvider
Nested Type Summary
Modifier and type Type and description
class ConfigurableIssueSeveritiesProvider.ConfigurableValueProvider
Configurable value provider.
class ConfigurableIssueSeveritiesProvider.ConfigurableValues
Configurable values.
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
protected org.eclipse.xtext.preferences.IPreferenceValuesProvider getValuesProvider
void setAllSeverities(Severity)
void setSeverity(String,Severity)
Property Details
valuesProvider
protected val valuesProvider : org.eclipse.xtext.preferences.IPreferenceValuesProvider

This property is an alias for the action: getValuesProvider

Constructor Details
new
new
Action Details
getValuesProvider
protected def getValuesProvider : org.eclipse.xtext.preferences.IPreferenceValuesProvider
setAllSeverities(Severity)
def setAllSeverities(Severity)
setSeverity(String,Severity)
def setSeverity(String,Severity)