Class DtMultiLineStringMatch

  • All Implemented Interfaces:
    Comparable<DtMatch>

    public class DtMultiLineStringMatch
    extends DtMatch
    A EDT text match in a given bmObject and feature.
    • 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 new DtMultiLineStringMatch
        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
        offset - the offset the match starts at
        length - the length of the match
        lineNumber - the line number in text where the match has been found, cannot be null
        offsetOnLine - the offset on line where the match has been found, cannot be null
        text - the matched text, cannot be null
    • 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