Package com._1c.g5.v8.dt.ql.ui
Enum QlTextAttributeProvider
- java.lang.Object
-
- java.lang.Enum<QlTextAttributeProvider>
-
- com._1c.g5.v8.dt.ql.ui.QlTextAttributeProvider
-
- All Implemented Interfaces:
Serializable
,Comparable<QlTextAttributeProvider>
public enum QlTextAttributeProvider extends Enum<QlTextAttributeProvider>
Special class for getting instance of QlTextAttributeProvider
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtext.ui.editor.syntaxcoloring.TextAttributeProvider
getTextAttributeProvider()
Return instance ofTextAttributeProvider
according to Ql guice injectorstatic QlTextAttributeProvider
valueOf(String name)
Returns the enum constant of this type with the specified name.static QlTextAttributeProvider[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final QlTextAttributeProvider INSTANCE
-
-
Method Detail
-
values
public static QlTextAttributeProvider[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QlTextAttributeProvider c : QlTextAttributeProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QlTextAttributeProvider valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTextAttributeProvider
public org.eclipse.xtext.ui.editor.syntaxcoloring.TextAttributeProvider getTextAttributeProvider()
Return instance ofTextAttributeProvider
according to Ql guice injector- Returns:
- instance of
TextAttributeProvider
-
-