Eclipse PDE
Release 3.1

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

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

public 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

public 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.1

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