org.eclipse.jface.text
Class ParentChildMapping
java.lang.Object
|
+--org.eclipse.jface.text.ParentChildMapping
- All Implemented Interfaces:
- IDocumentInformationMapping
- public class ParentChildMapping
- extends Object
- implements IDocumentInformationMapping
ParentChildMapping.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentChildMapping
public ParentChildMapping(ChildDocument childDocument)
getCoverage
public IRegion getCoverage()
- Specified by:
getCoverage
in interface IDocumentInformationMapping
toOriginOffset
public int toOriginOffset(int imageOffset)
throws BadLocationException
- Specified by:
toOriginOffset
in interface IDocumentInformationMapping
BadLocationException
toOriginRegion
public IRegion toOriginRegion(IRegion imageRegion)
throws BadLocationException
- Specified by:
toOriginRegion
in interface IDocumentInformationMapping
BadLocationException
toOriginLines
public IRegion toOriginLines(int imageLine)
throws BadLocationException
- Specified by:
toOriginLines
in interface IDocumentInformationMapping
BadLocationException
toOriginLine
public int toOriginLine(int imageLine)
throws BadLocationException
- Specified by:
toOriginLine
in interface IDocumentInformationMapping
BadLocationException
toImageOffset
public int toImageOffset(int originOffset)
throws BadLocationException
- Specified by:
toImageOffset
in interface IDocumentInformationMapping
BadLocationException
toImageRegion
public IRegion toImageRegion(IRegion originRegion)
throws BadLocationException
- Specified by:
toImageRegion
in interface IDocumentInformationMapping
BadLocationException
toImageLine
public int toImageLine(int originLine)
throws BadLocationException
- Specified by:
toImageLine
in interface IDocumentInformationMapping
BadLocationException
toClosestImageLine
public int toClosestImageLine(int originLine)
throws BadLocationException
- Specified by:
toClosestImageLine
in interface IDocumentInformationMapping
BadLocationException
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.