Hyperlink Detector Targets
Identifier:
org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets
Since:
3.3
Description:
This extension point is used to plug in hyperlink detector targets.
Configuration Markup:
<!ELEMENT extension (
target+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
-
point - a fully qualified identifier of the target extension point
-
id - an optional identifier of the extension instance
-
name - an optional name of the extension instance
<!ELEMENT target (
context+)?>
<!ATTLIST target
id CDATA #REQUIRED
name CDATA #REQUIRED
description CDATA #IMPLIED
>
-
id - a unique id that will be used to identify this hyperlink detector target
-
name - a name that allows to identify this hyperlink detector target in the UI
-
description - the translatable description for this hyperlink detector target. Currently this description isn't displayed anywhere in the UI by the Eclipse SDK.
<!ELEMENT context EMPTY>
<!ATTLIST context
type CDATA #REQUIRED
>
-
type - a hyperlink detector target context that can be accessed through
org.eclipse.jface.text.hyperlink.AbstractHyperlinkDetector.getAdapter(...)
Examples:
The following is an example of a hyperlink detector target definition:
<extension
point=
"org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets"
>
<target
id=
"org.eclipse.jdt.ui.javaCode"
name=
"Java Editor"
>
<context type=
"org.eclipse.ui.texteditor.ITextEditor"
/>
</target>
</extension>
Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v10.html