Class BslBmOccurrencesComputer
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.occurrences.DefaultOccurrenceComputer
-
- com._1c.g5.v8.dt.lcore.ui.editor.occurrences.CustomOccurrenceComputer
-
- com._1c.g5.v8.dt.bsl.bm.ui.editor.occurrences.BslBmOccurrencesComputer
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.occurrences.IOccurrenceComputer
public class BslBmOccurrencesComputer extends CustomOccurrenceComputer
SpecialCustomOccurrenceComputer
for Bsl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.lcore.ui.editor.occurrences.CustomOccurrenceComputer
CustomOccurrenceComputer.CustomAcceptor<T>
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.lcore.ui.editor.occurrences.CustomOccurrenceComputer
eObjectAtOffsetHelper, locationInFileProvider, referenceFinder, targetURIsProvider
-
-
Constructor Summary
Constructors Constructor Description BslBmOccurrencesComputer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CustomOccurrenceComputer.CustomAcceptor<org.eclipse.xtext.resource.IReferenceDescription>
getReferencesAcceptor()
GetsCustomOccurrenceComputer.CustomAcceptor
for collecting all references to annotated elementsprotected Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position>
processAllReferences(CustomOccurrenceComputer.CustomAcceptor<?> acceptor, org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.ui.editor.model.IXtextDocument document, org.eclipse.core.runtime.IProgressMonitor localMonitor)
Creates all annotations for references inCustomOccurrenceComputer.CustomAcceptor
-
Methods inherited from class com._1c.g5.v8.dt.lcore.ui.editor.occurrences.CustomOccurrenceComputer
createAnnotationMap, createSourceAnnotation, getTargetURIs
-
-
-
-
Method Detail
-
processAllReferences
protected Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> processAllReferences(CustomOccurrenceComputer.CustomAcceptor<?> acceptor, org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.ui.editor.model.IXtextDocument document, org.eclipse.core.runtime.IProgressMonitor localMonitor)
Description copied from class:CustomOccurrenceComputer
Creates all annotations for references inCustomOccurrenceComputer.CustomAcceptor
- Specified by:
processAllReferences
in classCustomOccurrenceComputer
- Parameters:
acceptor
- actualCustomOccurrenceComputer.CustomAcceptor
, can't benull
resource
- actualXtextResource
, can't benull
document
- actualIXtextDocument
, can't benull
localMonitor
- currentIProgressMonitor
, can't benull
- Returns:
- created annotations with their position, never
null
-
getReferencesAcceptor
protected CustomOccurrenceComputer.CustomAcceptor<org.eclipse.xtext.resource.IReferenceDescription> getReferencesAcceptor()
Description copied from class:CustomOccurrenceComputer
GetsCustomOccurrenceComputer.CustomAcceptor
for collecting all references to annotated elements- Specified by:
getReferencesAcceptor
in classCustomOccurrenceComputer
- Returns:
CustomOccurrenceComputer.CustomAcceptor
for collecting all references to annotated elements, nevernull
-
-