Package com._1c.g5.v8.dt.search.core
Class DtMultiLineStringMatch
- java.lang.Object
-
- org.eclipse.search.ui.text.Match
-
- com._1c.g5.v8.dt.search.core.DtMatch
-
- com._1c.g5.v8.dt.search.core.DtMultiLineStringMatch
-
- All Implemented Interfaces:
Comparable<DtMatch>
public class DtMultiLineStringMatch extends DtMatch
A EDT text match in a given bmObject and feature.
-
-
Constructor Summary
Constructors Constructor Description DtMultiLineStringMatch(IBmObject element, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.resources.IProject project, int offset, int length, int lineNumber, int offsetOnLine, String text)
Constructs a newDtMultiLineStringMatch
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DtMatch other)
boolean
equals(Object obj)
int
getLineNumber()
Line number in text where the match has been foundint
getOffsetOnLine()
Offset on line where the match has been foundint
hashCode()
-
Methods inherited from class com._1c.g5.v8.dt.search.core.DtMatch
getBmObject, getFeature, getLength, getOffset, getProject, getText
-
-
-
-
Constructor Detail
-
DtMultiLineStringMatch
public DtMultiLineStringMatch(IBmObject element, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.resources.IProject project, int offset, int length, int lineNumber, int offsetOnLine, String text)
Constructs a newDtMultiLineStringMatch
- Parameters:
element
- the bmObject that contains the match, cannot benull
feature
- the feature where the match has been found, cannot benull
project
- the project where the match has been found, cannot benull
offset
- the offset the match starts atlength
- the length of the matchlineNumber
- the line number in text where the match has been found, cannot benull
offsetOnLine
- the offset on line where the match has been found, cannot benull
text
- the matched text, cannot benull
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
Line number in text where the match has been found- Returns:
- the line number in text where the match has been found
-
getOffsetOnLine
public int getOffsetOnLine()
Offset on line where the match has been found- Returns:
- the offset on line where the match has been found
-
-