SourceBreakpoint.DefaultLine Class

com.bea.ide.sourceeditor.driver
SourceBreakpoint.DefaultLine Class

public static class SourceBreakpoint.DefaultLine

    extends Object
    implements ISourceModel.Line

Simple implementation of ISourceModel.Line that wraps around an element in the source, which may span multiple lines in the document.


Hierarchy
Object
  SourceBreakpoint.DefaultLine
All Implemented Interfaces

ISourceModel.Line
Enclosing class

SourceBreakpoint

Constructor Summary

SourceBreakpoint.DefaultLine(Element el)

 

Method Summary

public int
getEndOffset()
Returns the exclusive end offset of this line.
public int
getStartOffset()
Returns the inclusive start offset of this line.
public String
getText()
Returns the actual text of this line.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.ide.sourceeditor.model.ISourceModel.Line
getEndOffset, getStartOffset, getText
 

Constructor Detail

SourceBreakpoint.DefaultLine

public SourceBreakpoint.DefaultLine(Element el)
 

Method Detail

getEndOffset() Method

public int getEndOffset()
Description copied from ISourceModel.Line.getEndOffset()
Returns the exclusive end offset of this line. Note that this may change over document edits.


getStartOffset() Method

public int getStartOffset()
Description copied from ISourceModel.Line.getStartOffset()
Returns the inclusive start offset of this line. Note that this may change over document edits.


getText() Method

public String getText()
Description copied from ISourceModel.Line.getText()
Returns the actual text of this line. Note that this may change over document edits.