Eclipse PDE
Release 3.5

org.eclipse.pde.core
Interface ISourceObject


public interface ISourceObject

This interface indicates that a model object is created by parsing an editable source file and can be traced back to a particular location in the file.

Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 int getStartLine()
          Returns the line in the source file where the source representation of this object starts, or -1 if not known.
 int getStopLine()
          Returns the line in the source file where the source representation of this object stops, or -1 if not known.
 

Method Detail

getStartLine

int getStartLine()
Returns the line in the source file where the source representation of this object starts, or -1 if not known.

Returns:
the first line in the source file

getStopLine

int getStopLine()
Returns the line in the source file where the source representation of this object stops, or -1 if not known.

Returns:
the last line in the source file

Eclipse PDE
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.