Class BslTextSearchMatch
- java.lang.Object
-
- com._1c.g5.v8.dt.search.core.Match
-
- com._1c.g5.v8.dt.search.core.text.TextSearchFileMatch
-
- com._1c.g5.v8.dt.bsl.bm.ui.refactoring.BslTextSearchMatch
-
- All Implemented Interfaces:
IMatchParentProvider
,Comparable<TextSearchFileMatch>
public class BslTextSearchMatch extends TextSearchFileMatch
SpecialTextSearchFileMatch
contains addition information about foundMatch
:URI
s for actualModule
and semantic Bsl object
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.search.core.provider.IMatchParentProvider
IMatchParentProvider.Factory, IMatchParentProvider.Registry
-
-
Constructor Summary
Constructors Constructor Description BslTextSearchMatch(TextSearchFileMatch match, org.eclipse.emf.common.util.URI semanticObjectUri, org.eclipse.emf.common.util.URI topObjectUri)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getMetadataTopObjectId()
The top metadata object id that contain matchorg.eclipse.emf.common.util.URI
getSemanticObjectUri()
GetsURI
to the semantic BSL object corresponding to theMatch
org.eclipse.emf.common.util.URI
getTopObjectUri()
int
hashCode()
-
Methods inherited from class com._1c.g5.v8.dt.search.core.text.TextSearchFileMatch
compareTo, getElement, getFile, getFileOffset, getLineNumber, getText, getTextLength, getTextOffset
-
Methods inherited from class com._1c.g5.v8.dt.search.core.Match
getModel, isFiltered, resolveObjectById, setFiltered
-
-
-
-
Constructor Detail
-
BslTextSearchMatch
public BslTextSearchMatch(TextSearchFileMatch match, org.eclipse.emf.common.util.URI semanticObjectUri, org.eclipse.emf.common.util.URI topObjectUri)
Constructor- Parameters:
match
- actualTextSearchFileMatch
, cannot benull
semanticObjectUri
-URI
to the semantic BSL object corresponding to theMatch
, cannot benull
topObjectUri
-URI
to theModule
corresponding to theMatch
, cannot benull
-
-
Method Detail
-
getSemanticObjectUri
public org.eclipse.emf.common.util.URI getSemanticObjectUri()
GetsURI
to the semantic BSL object corresponding to theMatch
- Returns:
URI
to the semantic BSL object corresponding to theMatch
, nevernull
-
getTopObjectUri
public org.eclipse.emf.common.util.URI getTopObjectUri()
- Returns:
URI
to theModule
corresponding to theMatch
, nevernull
-
getMetadataTopObjectId
public long getMetadataTopObjectId()
Description copied from interface:IMatchParentProvider
The top metadata object id that contain match- Specified by:
getMetadataTopObjectId
in interfaceIMatchParentProvider
- Overrides:
getMetadataTopObjectId
in classMatch
- Returns:
- BM id of top metadata object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTextSearchFileMatch
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classTextSearchFileMatch
-
-