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.texteditor
Class HyperlinkDetectorRegistry

java.lang.Object
  extended by 
org.eclipse.ui.texteditor.HyperlinkDetectorRegistry

public final class HyperlinkDetectorRegistry
extends Object

Hyperlink detector registry that manages the detectors contributed by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors extension point for targets contributed by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets extension point.

Since:
3.3

Constructor Summary
HyperlinkDetectorRegistry ()
          Creates a new hyperlink detector registry.
HyperlinkDetectorRegistry ( IPreferenceStore preferenceStore)
          Creates a new hyperlink detector registry that controls hyperlink enablement via the given preference store.
 
Method Summary
  IHyperlinkDetector[] createHyperlinkDetectors ( String targetId, IAdaptable context)
           
  HyperlinkDetectorDescriptor[] getHyperlinkDetectorDescriptors ()
          Returns all hyperlink detectors contributed to the workbench.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HyperlinkDetectorRegistry

public HyperlinkDetectorRegistry()
Creates a new hyperlink detector registry.


HyperlinkDetectorRegistry

public HyperlinkDetectorRegistry(
IPreferenceStore preferenceStore)
Creates a new hyperlink detector registry that controls hyperlink enablement via the given preference store.

The hyperlink detector id is used as preference key. The value is of type Boolean where false means that the hyperlink detector is active.

Parameters:
preferenceStore - the preference store to be used
Method Detail

getHyperlinkDetectorDescriptors

public 
HyperlinkDetectorDescriptor[] getHyperlinkDetectorDescriptors()
Returns all hyperlink detectors contributed to the workbench.

Returns:
an array of hyperlink detector descriptors

createHyperlinkDetectors

public 
IHyperlinkDetector[] createHyperlinkDetectors(
String targetId,
                                                     
IAdaptable context)

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