|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.editor.SemanticHighlightings
public class SemanticHighlightings
Semantic highlightings. Derived from JDT.
Field Summary | |
---|---|
static java.lang.String |
CLASS
A named preference part that controls the highlighting of classes. |
static java.lang.String |
ENUM
A named preference part that controls the highlighting of enums. |
static java.lang.String |
ENUMERATOR
A named preference part that controls the highlighting of enumerators. |
static java.lang.String |
EXTERNAL_SDK
A named preference part that controls the highlighting of external SDK. |
static java.lang.String |
FIELD
A named preference part that controls the highlighting of fields. |
static java.lang.String |
FUNCTION
A named preference part that controls the highlighting of functions. |
static java.lang.String |
FUNCTION_DECLARATION
A named preference part that controls the highlighting of function declarations. |
static java.lang.String |
GLOBAL_VARIABLE
A named preference part that controls the highlighting of global variables. |
static java.lang.String |
LABEL
A named preference part that controls the highlighting of labels. |
static java.lang.String |
LOCAL_VARIABLE
A named preference part that controls the highlighting of local variable references. |
static java.lang.String |
LOCAL_VARIABLE_DECLARATION
A named preference part that controls the highlighting of local variables. |
static java.lang.String |
MACRO_DEFINITION
A named preference part that controls the highlighting of macro definitions. |
static java.lang.String |
MACRO_REFERENCE
A named preference part that controls the highlighting of macro references. |
static java.lang.String |
METHOD
A named preference part that controls the highlighting of methods. |
static java.lang.String |
METHOD_DECLARATION
A named preference part that controls the highlighting of method declarations. |
static java.lang.String |
NAMESPACE
A named preference part that controls the highlighting of namespaces. |
static java.lang.String |
PARAMETER_VARIABLE
A named preference part that controls the highlighting of parameter variables. |
static java.lang.String |
PROBLEM
A named preference part that controls the highlighting of problems. |
static java.lang.String |
STATIC_FIELD
A named preference part that controls the highlighting of static fields. |
static java.lang.String |
STATIC_METHOD_INVOCATION
A named preference part that controls the highlighting of static method invocations. |
static java.lang.String |
TEMPLATE_PARAMETER
A named preference part that controls the highlighting of template parameters. |
static java.lang.String |
TYPEDEF
A named preference part that controls the highlighting of typedefs. |
Method Summary | |
---|---|
static boolean |
affectsEnablement(org.eclipse.jface.preference.IPreferenceStore store,
org.eclipse.jface.util.PropertyChangeEvent event)
Tests whether event in store affects the
enablement of semantic highlighting. |
static java.lang.String |
getBoldPreferenceKey(SemanticHighlighting semanticHighlighting)
A named preference that controls if the given semantic highlighting has the text attribute bold. |
static java.lang.String |
getColorPreferenceKey(SemanticHighlighting semanticHighlighting)
A named preference that controls the given semantic highlighting's color. |
static java.lang.String |
getEnabledPreferenceKey(SemanticHighlighting semanticHighlighting)
A named preference that controls if the given semantic highlighting is enabled. |
static java.lang.String |
getItalicPreferenceKey(SemanticHighlighting semanticHighlighting)
A named preference that controls if the given semantic highlighting has the text attribute italic. |
static SemanticHighlighting[] |
getSemanticHighlightings()
|
static java.lang.String |
getStrikethroughPreferenceKey(SemanticHighlighting semanticHighlighting)
A named preference that controls if the given semantic highlighting has the text attribute strikethrough. |
static java.lang.String |
getUnderlinePreferenceKey(SemanticHighlighting semanticHighlighting)
A named preference that controls if the given semantic highlighting has the text attribute underline. |
static void |
initDefaults(org.eclipse.jface.preference.IPreferenceStore store)
Initialize default preferences in the given preference store. |
static boolean |
isEnabled(org.eclipse.jface.preference.IPreferenceStore store)
Tests whether semantic highlighting is currently enabled. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STATIC_FIELD
public static final java.lang.String FIELD
public static final java.lang.String METHOD_DECLARATION
public static final java.lang.String STATIC_METHOD_INVOCATION
public static final java.lang.String FUNCTION_DECLARATION
public static final java.lang.String FUNCTION
public static final java.lang.String LOCAL_VARIABLE_DECLARATION
public static final java.lang.String LOCAL_VARIABLE
public static final java.lang.String GLOBAL_VARIABLE
public static final java.lang.String PARAMETER_VARIABLE
public static final java.lang.String TEMPLATE_PARAMETER
public static final java.lang.String METHOD
public static final java.lang.String CLASS
public static final java.lang.String ENUM
public static final java.lang.String MACRO_REFERENCE
public static final java.lang.String MACRO_DEFINITION
public static final java.lang.String TYPEDEF
public static final java.lang.String NAMESPACE
public static final java.lang.String LABEL
public static final java.lang.String ENUMERATOR
public static final java.lang.String PROBLEM
public static final java.lang.String EXTERNAL_SDK
Method Detail |
---|
public static java.lang.String getColorPreferenceKey(SemanticHighlighting semanticHighlighting)
semanticHighlighting
- the semantic highlighting
public static java.lang.String getBoldPreferenceKey(SemanticHighlighting semanticHighlighting)
semanticHighlighting
- the semantic highlighting
public static java.lang.String getItalicPreferenceKey(SemanticHighlighting semanticHighlighting)
semanticHighlighting
- the semantic highlighting
public static java.lang.String getStrikethroughPreferenceKey(SemanticHighlighting semanticHighlighting)
semanticHighlighting
- the semantic highlighting
public static java.lang.String getUnderlinePreferenceKey(SemanticHighlighting semanticHighlighting)
semanticHighlighting
- the semantic highlighting
public static java.lang.String getEnabledPreferenceKey(SemanticHighlighting semanticHighlighting)
semanticHighlighting
- the semantic highlighting
public static SemanticHighlighting[] getSemanticHighlightings()
public static void initDefaults(org.eclipse.jface.preference.IPreferenceStore store)
store
- The preference storepublic static boolean affectsEnablement(org.eclipse.jface.preference.IPreferenceStore store, org.eclipse.jface.util.PropertyChangeEvent event)
event
in store
affects the
enablement of semantic highlighting.
store
- the preference store where event
was observedevent
- the property change under examination
true
if event
changed semantic
highlighting enablement, false
if it did notpublic static boolean isEnabled(org.eclipse.jface.preference.IPreferenceStore store)
store
- the preference store to consult
true
if semantic highlighting is enabled,
false
if it is not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |