Class FullTextSearchReferenceResult
- java.lang.Object
-
- com._1c.g5.v8.dt.search.core.findref.FullTextSearchReferenceResult
-
- All Implemented Interfaces:
FullTextSearchReferenceFinder.IFullTextSearchReferenceResult
,org.eclipse.xtext.resource.IReferenceDescription
public class FullTextSearchReferenceResult extends Object implements FullTextSearchReferenceFinder.IFullTextSearchReferenceResult, org.eclipse.xtext.resource.IReferenceDescription
Default implementation ofFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
. Also this class implementsIReferenceDescription
-
-
Constructor Summary
Constructors Constructor Description FullTextSearchReferenceResult(org.eclipse.emf.common.util.URI sourceUri, org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.common.util.URI topObjectUri)
ConstructorFullTextSearchReferenceResult(org.eclipse.emf.common.util.URI sourceUri, org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.common.util.URI topObjectUri, org.eclipse.emf.ecore.EReference reference, int index)
ConstructorFullTextSearchReferenceResult(org.eclipse.emf.common.util.URI sourceUri, org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.common.util.URI topObjectUri, org.eclipse.emf.ecore.EReference reference, int index, org.eclipse.jface.text.ITextSelection selection)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.util.URI
getContainerEObjectURI()
org.eclipse.emf.ecore.EReference
getEReference()
int
getIndexInList()
org.eclipse.jface.text.ITextSelection
getSelection()
ActualITextSelection
corresponding to the referencing elementorg.eclipse.emf.common.util.URI
getSourceEObjectUri()
org.eclipse.emf.common.util.URI
getSourceObjectUri()
SourceURI
of the referencing elementorg.eclipse.emf.common.util.URI
getTargetEObjectUri()
org.eclipse.emf.common.util.URI
getTargetUri()
TargetURI
to the element for found references
-
-
-
Constructor Detail
-
FullTextSearchReferenceResult
public FullTextSearchReferenceResult(org.eclipse.emf.common.util.URI sourceUri, org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.common.util.URI topObjectUri)
Constructor- Parameters:
sourceUri
- source object uri, can't benull
targetUri
- target object uri, can't benull
topObjectUri
- uri of the top object for source object, can't benull
-
FullTextSearchReferenceResult
public FullTextSearchReferenceResult(org.eclipse.emf.common.util.URI sourceUri, org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.common.util.URI topObjectUri, org.eclipse.emf.ecore.EReference reference, int index)
Constructor- Parameters:
sourceUri
- source object uri, can't benull
targetUri
- target object uri, can't benull
topObjectUri
- uri of the top object for source object, can't benull
reference
-EReference
of the source object, cant benull
index
- index of source element in collection of object corresponding to thereference
-
FullTextSearchReferenceResult
public FullTextSearchReferenceResult(org.eclipse.emf.common.util.URI sourceUri, org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.common.util.URI topObjectUri, org.eclipse.emf.ecore.EReference reference, int index, org.eclipse.jface.text.ITextSelection selection)
Constructor- Parameters:
sourceUri
- source object uri, can't benull
targetUri
- target object uri, can't benull
topObjectUri
- uri of the top object for source object, can't benull
reference
-EReference
of the source object, cant benull
index
- index of source element in collection of object corresponding to thereference
selection
- text selection corresponding to the source element, can't benull
-
-
Method Detail
-
getTargetUri
public org.eclipse.emf.common.util.URI getTargetUri()
Description copied from interface:FullTextSearchReferenceFinder.IFullTextSearchReferenceResult
TargetURI
to the element for found references- Specified by:
getTargetUri
in interfaceFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
- Returns:
URI
to the element for found references, nevernull
-
getSourceObjectUri
public org.eclipse.emf.common.util.URI getSourceObjectUri()
Description copied from interface:FullTextSearchReferenceFinder.IFullTextSearchReferenceResult
SourceURI
of the referencing element- Specified by:
getSourceObjectUri
in interfaceFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
- Returns:
URI
of the referencing element, nevernull
-
getSelection
public org.eclipse.jface.text.ITextSelection getSelection()
Description copied from interface:FullTextSearchReferenceFinder.IFullTextSearchReferenceResult
ActualITextSelection
corresponding to the referencing element- Specified by:
getSelection
in interfaceFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
- Returns:
ITextSelection
corresponding to the referencing element, can benull
if there is no selection for element
-
getSourceEObjectUri
public org.eclipse.emf.common.util.URI getSourceEObjectUri()
- Specified by:
getSourceEObjectUri
in interfaceorg.eclipse.xtext.resource.IReferenceDescription
-
getTargetEObjectUri
public org.eclipse.emf.common.util.URI getTargetEObjectUri()
- Specified by:
getTargetEObjectUri
in interfaceorg.eclipse.xtext.resource.IReferenceDescription
-
getIndexInList
public int getIndexInList()
- Specified by:
getIndexInList
in interfaceorg.eclipse.xtext.resource.IReferenceDescription
-
getEReference
public org.eclipse.emf.ecore.EReference getEReference()
- Specified by:
getEReference
in interfaceorg.eclipse.xtext.resource.IReferenceDescription
-
getContainerEObjectURI
public org.eclipse.emf.common.util.URI getContainerEObjectURI()
- Specified by:
getContainerEObjectURI
in interfaceorg.eclipse.xtext.resource.IReferenceDescription
-
-