Package org.eclipse.pde.core
Interface ISourceObject
-
public interface ISourceObjectThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetStartLine()Returns the line in the source file where the source representation of this object starts, or -1 if not known.intgetStopLine()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
-
-