Class DtLocaleStringMatch

  • All Implemented Interfaces:
    Comparable<DtMatch>

    public class DtLocaleStringMatch
    extends DtMatch
    A EDT match with locale depend in a given bmObject and feature.
    • 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 new DtLocaleStringMatch
        Parameters:
        element - the bmObject that contains the match, cannot be null
        feature - the feature where the match has been found, cannot be null
        project - the project where the match has been found, cannot be null
        localeCode - the code of locale where the match has been found, cannot be null
        offset - the offset the match starts at
        length - the length of the match
        text - the matched text, cannot be null
    • 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