Class QlSemanticHighlightingCalculator
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.ui.syntaxcoloring.QlSemanticHighlightingCalculator
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator
- Direct Known Subclasses:
RightQlSemanticHighlightingCalculator
public class QlSemanticHighlightingCalculator extends Object implements org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator
Semantic highlighting calculator for the Ql language. Computes the highlighting styles for the model objects
-
-
Constructor Summary
Constructors Constructor Description QlSemanticHighlightingCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
computeHighliting(Iterator<org.eclipse.emf.ecore.EObject> it, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor acceptor)
Compute highlighting for Ql semantic objectsprotected void
computeHighliting(org.eclipse.emf.ecore.EObject each, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor acceptor)
Compute highlighting for Ql semantic objectsvoid
provideHighlightingFor(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor acceptor)
-
-
-
Method Detail
-
provideHighlightingFor
public void provideHighlightingFor(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor acceptor)
- Specified by:
provideHighlightingFor
in interfaceorg.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator
-
computeHighliting
protected void computeHighliting(Iterator<org.eclipse.emf.ecore.EObject> it, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor acceptor)
Compute highlighting for Ql semantic objects- Parameters:
it
- iterator on objectsacceptor
- used to announce the mapping from text-range to the style's id. The acceptor will never benull
.
-
computeHighliting
protected void computeHighliting(org.eclipse.emf.ecore.EObject each, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor acceptor)
Compute highlighting for Ql semantic objects- Parameters:
each
- semantic objectacceptor
- used to announce the mapping from text-range to the style's id. The acceptor will never benull
.
-
-