bug 243466: [CommonNavigator] documentation missing about how to configure linkHelper
diff --git a/bundles/org.eclipse.ui.navigator/schema/linkHelper.exsd b/bundles/org.eclipse.ui.navigator/schema/linkHelper.exsd
index 20b1b64..ac24449 100644
--- a/bundles/org.eclipse.ui.navigator/schema/linkHelper.exsd
+++ b/bundles/org.eclipse.ui.navigator/schema/linkHelper.exsd
@@ -6,7 +6,7 @@
<meta.schema plugin="org.eclipse.ui.navigator" id="linkHelper" name="Navigator Link Helper"/>
</appInfo>
<documentation>
- Provides a hook for clients that wish to extend the "Link with Editor" capability of a Common Navigator.
+ Provides a hook for clients that wish to extend the "Link with Editor" capability of a Common Navigator. A link helper must be included in a <b>viewerContentBinding</b> element of the <b>org.eclipse.ui.navigator.viewer</b> extension point.
</documentation>
</annotation>
@@ -70,7 +70,7 @@
<element name="editorInputEnablement">
<annotation>
<documentation>
- An Eclipse Core Expression that describes when this helper can provide a selection from an editor input.
+ An Eclipse Core Expression that describes when this helper can provide a selection from an editor input.
</documentation>
</annotation>
<complexType>
@@ -131,8 +131,7 @@
<meta.section type="examples"/>
</appInfo>
<documentation>
-
-<pre>
+ <pre>
<extension
point="org.eclipse.ui.navigator.linkHelper">
<linkHelper
@@ -155,7 +154,7 @@
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
-
+
</documentation>
</annotation>
@@ -173,7 +172,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2002, 2006 IBM Corporation and others.<br>
+ Copyright (c) 2002, 2008 IBM Corporation and others.<br>
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 <a
diff --git a/bundles/org.eclipse.ui.navigator/schema/viewer.exsd b/bundles/org.eclipse.ui.navigator/schema/viewer.exsd
index d299510..dfcaef9 100644
--- a/bundles/org.eclipse.ui.navigator/schema/viewer.exsd
+++ b/bundles/org.eclipse.ui.navigator/schema/viewer.exsd
@@ -15,8 +15,9 @@
<p>
<b>viewerContentBinding</b> binds defined content extensions (through the <b>navigatorContent</b>
extension point) to viewers (defined through the
-<b>org.eclipse.ui.views</b> extension point). Any content
-extension bound to a viewer is described as <i>visible</i>. A
+<b>org.eclipse.ui.views</b> extension point). <b>viewerContentBinding</b> also binds a
+<b>linkHelper</b> extension point to a viewer.
+Any content extension bound to a viewer is described as <i>visible</i>. A
content service (<code>org.eclipse.ui.navigator.INavigatorContentService</code>)
will not return any extensions which are not visible for
its viewer id.
@@ -92,7 +93,7 @@
<element name="viewerContentBinding">
<annotation>
<documentation>
- Clients must define one or more <b>viwerContentBinding</b> elements to describe which content extensions and common filters are <i>visible</i> to the viewer. A content extension or common filter is <i>visible</i> if the id of the content extension or common filter matches an <b>includes</b> statement under a <b>viewerContentBinding</b> and is not excluded by an <b>excludes</b> statement. If a content extension or common filter is not <i>visible</i> to a viewer, then the extension will never be asked for content by a content service for that viewer or be presented to the user in the available filters dialog.
+ Clients must define one or more <b>viewerContentBinding</b> elements to describe which content extensions, common filters, and link helpers are <i>visible</i> to the viewer. A content extension or common filter is <i>visible</i> if the id of the content extension or common filter matches an <b>includes</b> statement under a <b>viewerContentBinding</b> and is not excluded by an <b>excludes</b> statement. If a content extension or common filter is not <i>visible</i> to a viewer, then the extension will never be asked for content by a content service for that viewer or be presented to the user in the available filters dialog.
<br><br>
Clients may define an <b>includes</b> element to select which extensions are <i>visible</i> to the viewer, and similarly an <b>excludes</b> element for extensions that should not be made <i>visible</i> to the viewer. Clients may further define the extensions that should be explicitly queried for root elements (through ITreeContentProvider.getElements()) by the "isRoot" attribute. If one or more <b>contentExtension</b> elements have "isRoot" set to true within the <b>includes</b> statement, only those extensions will be queried for root elements. The "isRoot" attribute has no effect for exclusions.
<br><br>
@@ -601,7 +602,7 @@
<meta.section type="implementation"/>
</appInfo>
<documentation>
-
+
</documentation>
</annotation>
@@ -610,7 +611,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2002, 2006, 2008 IBM Corporation and others.<br>
+ Copyright (c) 2002, 2008 IBM Corporation and others.<br>
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 <a