Package com._1c.g5.v8.dt.search.core
Class DtLocaleStringMatch
- java.lang.Object
-
- org.eclipse.search.ui.text.Match
-
- com._1c.g5.v8.dt.search.core.DtMatch
-
- com._1c.g5.v8.dt.search.core.DtLocaleStringMatch
-
- All Implemented Interfaces:
Comparable<DtMatch>
public class DtLocaleStringMatch extends DtMatch
A EDT match with locale depend in a given bmObject and feature.
-
-
Constructor Summary
Constructors Constructor Description DtLocaleStringMatch(IBmObject element, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.resources.IProject project, String localeCode, int offset, int length, String text)
Construct a newDtLocaleStringMatch
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getLocaleCode()
Code of locale where the match has been foundint
hashCode()
-
Methods inherited from class com._1c.g5.v8.dt.search.core.DtMatch
compareTo, getBmObject, getFeature, getLength, getOffset, getProject, getText
-
-
-
-
Constructor Detail
-
DtLocaleStringMatch
public DtLocaleStringMatch(IBmObject element, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.resources.IProject project, String localeCode, int offset, int length, String text)
Construct a newDtLocaleStringMatch
- 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
localeCode
- the code of locale where the match has been found, cannot benull
offset
- the offset the match starts atlength
- the length of the matchtext
- the matched text, cannot benull
-
-
Method Detail
-
getLocaleCode
public String getLocaleCode()
Code of locale where the match has been found- Returns:
- the code of locale where the match has been found, never
null
-
-