Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.IDocumentInformationMappingExtension


  public IRegion[] getCoveredModelRanges(IRegion modelRange) {
    if (fInformationMapping == null)
      return new IRegion[] { new Region(modelRange.getOffset(), modelRange.getLength()) };

    if (fInformationMapping instanceof IDocumentInformationMappingExtension) {
      IDocumentInformationMappingExtension extension= (IDocumentInformationMappingExtension) fInformationMapping;
      try {
        return extension.getExactCoverage(modelRange);
      } catch (BadLocationException x) {
      }
    }

    return null;
View Full Code Here


  public IRegion[] getCoveredModelRanges(IRegion modelRange) {
    if (fInformationMapping == null)
      return new IRegion[] { new Region(modelRange.getOffset(), modelRange.getLength()) };

    if (fInformationMapping instanceof IDocumentInformationMappingExtension) {
      IDocumentInformationMappingExtension extension= (IDocumentInformationMappingExtension) fInformationMapping;
      try {
        return extension.getExactCoverage(modelRange);
      } catch (BadLocationException x) {
      }
    }

    return null;
View Full Code Here

  public IRegion[] getCoveredModelRanges(IRegion modelRange) {
    if (fInformationMapping == null)
      return new IRegion[] { new Region(modelRange.getOffset(), modelRange.getLength()) };

    if (fInformationMapping instanceof IDocumentInformationMappingExtension) {
      IDocumentInformationMappingExtension extension= (IDocumentInformationMappingExtension) fInformationMapping;
      try {
        return extension.getExactCoverage(modelRange);
      } catch (BadLocationException x) {
      }
    }

    return null;
View Full Code Here

TOP

Related Classes of org.eclipse.jface.text.IDocumentInformationMappingExtension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.