public final class HyperlinkDetectorRegistry extends Object
org.eclipse.ui.workbench.texteditor.hyperlinkDetectors
extension point for
targets contributed by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets
extension point.Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
IHyperlinkDetector[] |
createHyperlinkDetectors(String targetId,
IAdaptable context) |
HyperlinkDetectorDescriptor[] |
getHyperlinkDetectorDescriptors()
Returns all hyperlink detectors contributed to the workbench.
|
public HyperlinkDetectorRegistry()
public HyperlinkDetectorRegistry(IPreferenceStore preferenceStore)
The hyperlink detector id is used as preference key.
The value is of type Boolean
where
false
means that the hyperlink detector is active.
preferenceStore
- the preference store to be usedpublic HyperlinkDetectorDescriptor[] getHyperlinkDetectorDescriptors()
public IHyperlinkDetector[] createHyperlinkDetectors(String targetId, IAdaptable context)
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.