|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xtext.ui.editor.syntaxcoloring.SemanticHighlightingCalculator
public class SemanticHighlightingCalculator
Field Summary | |
---|---|
static java.util.Set<java.lang.String> |
SPECIAL_ATTRIBUTES
|
Constructor Summary | |
---|---|
SemanticHighlightingCalculator()
|
Method Summary | |
---|---|
INode |
getFirstFeatureNode(org.eclipse.emf.ecore.EObject semantic,
org.eclipse.emf.ecore.EStructuralFeature feature)
|
void |
provideHighlightingFor(XtextResource resource,
IHighlightedPositionAcceptor acceptor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.Set<java.lang.String> SPECIAL_ATTRIBUTES
Constructor Detail |
---|
public SemanticHighlightingCalculator()
Method Detail |
---|
public void provideHighlightingFor(XtextResource resource, IHighlightedPositionAcceptor acceptor)
provideHighlightingFor
in interface ISemanticHighlightingCalculator
resource
- the resource that will be highlighted. May be null
in some rare cases.acceptor
- used to announce the mapping from text-range to the style's id. The acceptor will never be null
.public INode getFirstFeatureNode(org.eclipse.emf.ecore.EObject semantic, org.eclipse.emf.ecore.EStructuralFeature feature)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |