Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.core.subsystems
Interface IRemoteLineReference

All Known Subinterfaces:
IRemoteError, IRemoteOutput, IRemoteSearchResult
All Known Implementing Classes:
RemoteError, RemoteOutput, RemoteSearchResult

public interface IRemoteLineReference

This interface represents an object that can be used to jump into line in source


Method Summary
  String getAbsolutePath ()
          Gets the path to the file that this output references if it references any.
 int getCharEnd ()
          Get the end offset in a line corresponding to this reference
 int getCharStart ()
          Get the start offset in a line corresponding to this reference
 int getLine ()
          Gets the line number within a file that this references if it references any.
  Object getParent ()
          Get the object that contains this object.
 

Method Detail

getAbsolutePath


String getAbsolutePath()
Gets the path to the file that this output references if it references any. It may return null if no such association exists. This may be used to jump to an editor from a view which displays this

Returns:
the path of the referenced file if there is one

getLine

int getLine()
Gets the line number within a file that this references if it references any. By default it should return 0. If no file association exists, it also returns 0. This may be used to jump into a location within an editor from a view which displays remote output.

Returns:
the line number within a referenced file if there is one.

getCharStart

int getCharStart()
Get the start offset in a line corresponding to this reference. -1 indicates there is no offset

Returns:
the offset

getCharEnd

int getCharEnd()
Get the end offset in a line corresponding to this reference. -1 indicates there is no offset

Returns:
the offset

getParent


Object getParent()
Get the object that contains this object.

Returns:
the parent object

RSE
Release 3.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire