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.ui.navigator
Class LinkHelperService

java.lang.Object
  extended by 
org.eclipse.ui.navigator.LinkHelperService

public class LinkHelperService
extends Object

Manages the link helpers which are used to define the behavior of the link with editor function.

Since:
3.4
Restriction:
This class is not intended to be instantiated by clients.

Method Summary
  ILinkHelper[] getLinkHelpersFor ( IEditorInput input)
           
  ILinkHelper[] getLinkHelpersFor ( Object anObject)
           
  IStructuredSelection getSelectionFor ( IEditorInput input)
          Return a selection that contains the elements that the given editor input represent.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLinkHelpersFor

public 
ILinkHelper[] getLinkHelpersFor(
Object anObject)
Parameters:
anObject - An object from the viewer
Returns:
An array of link helpers that know about elements in the selection or null

getLinkHelpersFor

public 
ILinkHelper[] getLinkHelpersFor(
IEditorInput input)
Parameters:
input - The Editor input from the active viewer.
Returns:
An array of link helpers that know about elements in the selection or null

getSelectionFor

public 
IStructuredSelection getSelectionFor(
IEditorInput input)
Return a selection that contains the elements that the given editor input represent.

Parameters:
input - the editor input
Returns:
a selection that contains the elements that the given editor input represent

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