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

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.console
Class FileLink

java.lang.Object
  extended by 
org.eclipse.debug.ui.console.FileLink
All Implemented Interfaces:
IConsoleHyperlink, IHyperlink

public class FileLink
extends Object
implements IConsoleHyperlink

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.

Since:
2.1
Restriction:
This class is not intended to be subclassed by clients.

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

FileLink

public FileLink(
IFile file,
                
String editorId,
                int fileOffset,
                int fileLength,
                int fileLineNumber)
Constructs a hyperlink to the specified file.

Parameters:
file - the file to open when activated
editorId - the identifier of the editor to open the file in, or null if the default editor should be used
fileOffset - the offset in the file to select when activated, or -1
fileLength - the length of text to select in the file when activated or -1
fileLineNumber - the line number to select in the file when activated, or -1
Method Detail

linkActivated

public void linkActivated()
Description copied from interface: IHyperlink
Notification that this link has been activated. Performs context specific linking.

Specified by:
linkActivated in interface IHyperlink

linkEntered

public void linkEntered()
Description copied from interface: IHyperlink
Notification that the mouse has entered this link's region.

Specified by:
linkEntered in interface IHyperlink

linkExited

public void linkExited()
Description copied from interface: IHyperlink
Notification that the mouse has exited this link's region

Specified by:
linkExited in interface IHyperlink

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


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