Eclipse PDE
Release 3.6

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.6

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.