protected static class SemanticHighlightings.MethodHighlighting extends SemanticHighlighting
Modifier and Type | Class and Description |
---|---|
protected static class |
SemanticHighlightings.MethodHighlighting.PtolemyMethod
Wrapper for Ptolemy methods to be highlighted.
|
Modifier and Type | Field and Description |
---|---|
protected static java.util.Hashtable<java.lang.String,SemanticHighlightings.MethodHighlighting.PtolemyMethod[]> |
_METHODS
The special methods to be highlighted.
|
Modifier | Constructor and Description |
---|---|
protected |
MethodHighlighting() |
Modifier and Type | Method and Description |
---|---|
boolean |
consumes(SemanticToken token)
Test whether a semantic token can be consumed.
|
java.lang.String |
getBoldPreferenceKey()
Get the key of the bold face preference.
|
java.lang.String |
getColorPreferenceKey()
Get the key of the color preference.
|
java.lang.String |
getEnabledPreferenceKey()
Get the key of the enabled preference.
|
java.lang.String |
getItalicPreferenceKey()
Get the key of the italic font preference.
|
protected static final java.util.Hashtable<java.lang.String,SemanticHighlightings.MethodHighlighting.PtolemyMethod[]> _METHODS
SemanticHighlightings.MethodHighlighting.PtolemyMethod
objects.public boolean consumes(SemanticToken token)
consumes
in class SemanticHighlighting
token
- The token to be tested.public java.lang.String getBoldPreferenceKey()
getBoldPreferenceKey
in class SemanticHighlighting
public java.lang.String getColorPreferenceKey()
getColorPreferenceKey
in class SemanticHighlighting
public java.lang.String getEnabledPreferenceKey()
getEnabledPreferenceKey
in class SemanticHighlighting
public java.lang.String getItalicPreferenceKey()
getItalicPreferenceKey
in class SemanticHighlighting