|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.debug.ui.console.FileLink
public class FileLink
A hyperlink that opens a file in a text editor and selects a range of text. This hyperlink action will un-zoom the workbench as needed to show the editor for the associated link.
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 -1| Method Detail |
|---|
public void linkActivated()
IHyperlink
linkActivated in interface IHyperlinkpublic void linkEntered()
IHyperlink
linkEntered in interface IHyperlinkpublic void linkExited()
IHyperlink
linkExited in interface IHyperlink
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.