|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.debug.ui.console.FileLink
A hyperlink that opens a file in a text editor and selects a range of text.
This class is not intended to be subclassed; clients may instantiate this class.
Constructor Summary | |
FileLink(IFile file,
String editorId,
int fileOffset,
int fileLength,
int fileLineNumber)
Constructs a hyperlink to the specified file. |
Method Summary | |
void |
linkActivated()
Notification that this link has been activated. |
void |
linkEntered()
Notification that the mouse has entered this link's region. |
void |
linkExited()
Notification that the mouse has exited this link's region |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileLink(IFile file, String editorId, int fileOffset, int fileLength, int fileLineNumber)
file
- the file to open when activatededitorId
- the identifier of the editor to open the file in, or
null
if the default editor should be usedfileOffset
- the offset in the file to select when activated, or -1fileLength
- the length of text to select in the file when activated
or -1fileLineNumber
- the line number to select in the file when
activated, or -1Method Detail |
public void linkActivated()
IConsoleHyperlink
linkActivated
in interface IConsoleHyperlink
IConsoleHyperlink.linkActivated()
public void linkEntered()
IConsoleHyperlink
linkEntered
in interface IConsoleHyperlink
IConsoleHyperlink.linkEntered()
public void linkExited()
IConsoleHyperlink
linkExited
in interface IConsoleHyperlink
IConsoleHyperlink.linkExited()
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |