protected static class SemanticHighlightingReconciler.HighlightingStyle
extends java.lang.Object
Constructor and Description |
---|
HighlightingStyle(org.eclipse.jface.text.TextAttribute textAttribute,
boolean isEnabled)
Construct a highlighting style with the given text attribute.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.jface.text.TextAttribute |
getTextAttribute()
Return the text attribute.
|
boolean |
isEnabled()
Return whether this style is enabled.
|
void |
setEnabled(boolean isEnabled)
Set whether this style is enabled.
|
void |
setTextAttribute(org.eclipse.jface.text.TextAttribute textAttribute)
Set the text attribute.
|
public HighlightingStyle(org.eclipse.jface.text.TextAttribute textAttribute, boolean isEnabled)
textAttribute
- The text attribute.isEnabled
- Whether this style is enabled.public org.eclipse.jface.text.TextAttribute getTextAttribute()
setTextAttribute(TextAttribute)
public boolean isEnabled()
public void setEnabled(boolean isEnabled)
isEnabled
- true if this style is enabled.public void setTextAttribute(org.eclipse.jface.text.TextAttribute textAttribute)
textAttribute
- The text attribute.getTextAttribute()