|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
public void linkEntered()
IConsoleHyperlink
linkEntered
in interface IConsoleHyperlink
public void linkExited()
IConsoleHyperlink
linkExited
in interface IConsoleHyperlink
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.