Skip to content

Commit 85a6833

Browse files
committed
Remove ISV doc references to deleted org.eclipse.core.runtime.contentTypes extension point
The long-deprecated org.eclipse.core.runtime.contentTypes extension point is being removed from org.eclipse.core.runtime (eclipse.platform PR #1644). Remove the stale topics_Reference.xml TOC entry that org.eclipse.ua.tests.doc ApiDocTest#testTopicsReference cross-checks against the runtime extension registry, drop the matching entry from the extension-points index, and repoint the content-types guide to the still-valid replacement extension point org.eclipse.core.contenttype.contentTypes.
1 parent 183e2fd commit 85a6833

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/runtime_content_contributing.htm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ <h3>Providing a New Content Type</h3>
1717
other plug-ins. We will look at how the platform defines some of its content
1818
types in order to better understand the content type framework.</p>
1919
<p>Plug-ins define content types by contributing an extension for the extension
20-
point <b><a href="../reference/extension-points/org_eclipse_core_runtime_contentTypes.html">org.eclipse.core.runtime.contentTypes</a></b>.
20+
point <b><a href="../reference/extension-points/org_eclipse_core_contenttype_contentTypes.html">org.eclipse.core.contenttype.contentTypes</a></b>.
2121
In this extension, a plug-in specifies a simple id and name for the content
2222
type (the full id is always the simple id prefixed by the current namespace).
2323
The following snippet shows a trimmed down version of the <code>org.eclipse.core.runtime.text</code>
2424
content type contribution:</p>
2525
<pre>
26-
&lt;extension point="org.eclipse.core.runtime.contentTypes"&gt;
27-
&lt;content-type
26+
&lt;extension point="org.eclipse.core.contenttype.contentTypes"&gt;
27+
&lt;content-type
2828
id="text"
29-
name="%textContentTypeName"&gt;
29+
name="%textContentTypeName"
3030
file-extensions="txt"&gt;
3131
&lt;describer class=&quot;org.eclipse.core.internal.content.TextContentDescriber&quot;/&gt;
3232
&lt;/content-type&gt;
@@ -102,7 +102,7 @@ <h4>Additional File Associations</h4>
102102
<p>New file associations can be added to existing content types. For instance,
103103
the Resources plug-in associates the <code>org.eclipse.core.runtime.xml</code>
104104
to &quot;.project&quot; files:</p>
105-
<pre>&lt;extension point="org.eclipse.core.runtime.contentTypes"&gt;
105+
<pre>&lt;extension point="org.eclipse.core.contenttype.contentTypes"&gt;
106106
&lt;file-association content-type=&quot;org.eclipse.core.runtime.xml&quot; file-names=&quot;.project&quot;/&gt;
107107
...
108108
</pre>

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/extension-points/index.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ <h3 id="runtime">
3939
<a href=
4040
"org_eclipse_core_runtime_applications.html">org.eclipse.core.runtime.applications</a>
4141
</li>
42-
<li>
43-
44-
<a href=
45-
"org_eclipse_core_runtime_contentTypes.html">org.eclipse.core.runtime.contentTypes</a>
46-
</li>
4742
<li>
4843
<a href=
4944
"org_eclipse_core_runtime_preferences.html">org.eclipse.core.runtime.preferences</a>

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/topics_Reference.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@
328328
<topic label="org.eclipse.core.resources.variableResolvers" href="reference/extension-points/org_eclipse_core_resources_variableResolvers.html"/>
329329
<topic label="org.eclipse.core.runtime.adapters" href="reference/extension-points/org_eclipse_core_runtime_adapters.html"/>
330330
<topic label="org.eclipse.core.runtime.applications" href="reference/extension-points/org_eclipse_core_runtime_applications.html"/>
331-
<topic label="org.eclipse.core.runtime.contentTypes" href="reference/extension-points/org_eclipse_core_runtime_contentTypes.html"/>
332331
<topic label="org.eclipse.core.runtime.preferences" href="reference/extension-points/org_eclipse_core_runtime_preferences.html"/>
333332
<topic label="org.eclipse.core.runtime.products" href="reference/extension-points/org_eclipse_core_runtime_products.html"/>
334333
<topic label="org.eclipse.core.variables.dynamicVariables" href="reference/extension-points/org_eclipse_core_variables_dynamicVariables.html"/>

0 commit comments

Comments
 (0)