public class SemanticHighlightings
extends java.lang.Object
SemanticHighlighting and handles a special type of
semantic elements.| Red (tfeng) |
| Red (tfeng) |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SemanticHighlightings.MethodHighlighting
Semantic highlighting for methods.
|
protected static class |
SemanticHighlightings.StateVariableHighlighting
Semantic highlighting for state variables.
|
| Constructor and Description |
|---|
SemanticHighlightings() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
affectsEnablement(org.eclipse.jface.preference.IPreferenceStore store,
org.eclipse.jface.util.PropertyChangeEvent event)
Test whether the event in store affects the enablement of semantic
highlighting.
|
static SemanticHighlighting[] |
getSemanticHighlightings()
Return the complete list of semantic highlightings to be used in the
Ptolemy editor.
|
static boolean |
isEnabled(org.eclipse.jface.preference.IPreferenceStore store)
Test whether semantic highlightings are enabled in the preference store.
|
public static boolean affectsEnablement(org.eclipse.jface.preference.IPreferenceStore store,
org.eclipse.jface.util.PropertyChangeEvent event)
store - The preference store where the event was observed.event - The property change under examination.public static SemanticHighlighting[] getSemanticHighlightings()
public static boolean isEnabled(org.eclipse.jface.preference.IPreferenceStore store)
store - The preference store.