[259721]: [editor] Add Extension point for Content Assist
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259721
diff --git a/bundles/org.eclipse.wst.xsl.ui/schema/contentAssistProcessor.exsd b/bundles/org.eclipse.wst.xsl.ui/schema/contentAssistProcessor.exsd
index 59bcd7e..ceddaf2 100644
--- a/bundles/org.eclipse.wst.xsl.ui/schema/contentAssistProcessor.exsd
+++ b/bundles/org.eclipse.wst.xsl.ui/schema/contentAssistProcessor.exsd
@@ -1,13 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.wst.xsl.ui" xmlns="http://www.w3.org/2001/XMLSchema">
- <annotation>
+<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.wst.xsl.ui" id="contentAssistProcessor" name="XSL Content Assistance"/>
</appinfo>
<documentation>
XSL Content Asisstance processor extension point, allows for the contribution of adopter defined XSL processor extensions.
-
</documentation>
</annotation>
@@ -24,7 +23,7 @@
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
-
+ A unique ID for this extension point
</documentation>
</annotation>
</attribute>
@@ -38,7 +37,7 @@
<attribute name="name" type="string">
<annotation>
<documentation>
-
+ Extension point name
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
@@ -58,7 +57,7 @@
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
-
+ The class that implements the content assistant processor.
</documentation>
<appinfo>
<meta.attribute kind="java"/>
@@ -76,4 +75,39 @@
1.1
</documentation>
</annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="examples"/>
+ </appinfo>
+ <documentation>
+ <p>&lt;extension
+ point="org.eclipse.wst.xsl.ui.contentAssistProcessor"></p>
+<p>&#160;&#160;&#160;&lt;processor
+ class="org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor"></p>
+<p>&#160;&#160;&#160;&lt;/processor></p>
+<p>&lt;/extension></p>
+ </documentation>
+ </annotation>
+
+
+
+ <annotation>
+ <appinfo>
+ <meta.section type="copyright"/>
+ </appinfo>
+ <documentation>
+*******************************************************************************
+ * Copyright (c) 2009 Standards for Technology in Automotive Retail 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * David Carver (STAR) - initial API and implementation
+ ******************************************************************************
+ </documentation>
+ </annotation>
+
</schema>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/build.xml b/docs/org.eclipse.wst.xsl.sdk.documentation/build.xml
index 8c7a027..110a427 100644
--- a/docs/org.eclipse.wst.xsl.sdk.documentation/build.xml
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/build.xml
@@ -74,6 +74,9 @@
<pde.convertSchemaToHTML manifest="../org.eclipse.wst.xsl.jaxp.launching/plugin.xml"
destination="${workspace}/doc/html/extension_point"
/>
+ <pde.convertSchemaToHTML manifest="../org.eclipse.wst.xsl.ui/plugin.xml"
+ destination="${workspace}/doc/html/extension_point"
+ />
</target>
</project>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_debugger.html b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_debugger.html
index 885c8c2..c596d3e 100644
--- a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_debugger.html
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_debugger.html
@@ -14,13 +14,13 @@
<p></p>
<p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.debugger">debugger</a>+)></p>
<p class="code SchemaDtd"><!ATTLIST extension</p>
-<p class="code SchemaDtdAttlist">point CDATA #REQUIRED<p class="code SchemaDtdAttlist">id CDATA #IMPLIED<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p>
+<p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd"><!ELEMENT <a name="e.debugger">debugger</a> EMPTY></p>
<p class="code SchemaDtd"><!ATTLIST debugger</p>
-<p class="code SchemaDtdAttlist">id CDATA #REQUIRED<p class="code SchemaDtdAttlist">name CDATA #REQUIRED<p class="code SchemaDtdAttlist">classpath CDATA #REQUIRED<p class="code SchemaDtdAttlist">processorTypeId CDATA #REQUIRED<p class="code SchemaDtdAttlist">className CDATA #REQUIRED<p class="code SchemaDtdAttlist">transformerFactoryClass CDATA #REQUIRED></p>
+<p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">classpath CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">processorTypeId CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">className CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">transformerFactoryClass CDATA #REQUIRED</p>></p>
<p></p>
<p class="ConfigMarkupElementDesc">
A debugger for a processor type</p>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_invoke.html b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_invoke.html
index 6deb4d1..c19c443 100644
--- a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_invoke.html
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_invoke.html
@@ -15,13 +15,13 @@
<p></p>
<p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.invoker">invoker</a>)></p>
<p class="code SchemaDtd"><!ATTLIST extension</p>
-<p class="code SchemaDtdAttlist">point CDATA #REQUIRED<p class="code SchemaDtdAttlist">id CDATA #IMPLIED<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p>
+<p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd"><!ELEMENT <a name="e.invoker">invoker</a> EMPTY></p>
<p class="code SchemaDtd"><!ATTLIST invoker</p>
-<p class="code SchemaDtdAttlist">id CDATA #REQUIRED<p class="code SchemaDtdAttlist">class CDATA #REQUIRED<p class="code SchemaDtdAttlist">classpath CDATA #REQUIRED></p>
+<p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">class CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">classpath CDATA #REQUIRED</p>></p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - Unique id for this invoker</li>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processor.html b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processor.html
index 6dee1a4..79a2cae 100644
--- a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processor.html
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processor.html
@@ -14,13 +14,13 @@
<p></p>
<p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.processor">processor</a>+)></p>
<p class="code SchemaDtd"><!ATTLIST extension</p>
-<p class="code SchemaDtdAttlist">point CDATA #REQUIRED<p class="code SchemaDtdAttlist">id CDATA #IMPLIED<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p>
+<p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd"><!ELEMENT <a name="e.processor">processor</a> EMPTY></p>
<p class="code SchemaDtd"><!ATTLIST processor</p>
-<p class="code SchemaDtdAttlist">id CDATA #REQUIRED<p class="code SchemaDtdAttlist">label CDATA #REQUIRED<p class="code SchemaDtdAttlist">processorTypeId CDATA #REQUIRED<p class="code SchemaDtdAttlist">classpath CDATA #REQUIRED<p class="code SchemaDtdAttlist">debuggerId CDATA #IMPLIED<p class="code SchemaDtdAttlist">supports CDATA #REQUIRED></p>
+<p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">label CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">processorTypeId CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">classpath CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">debuggerId CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">supports CDATA #REQUIRED</p>></p>
<p></p>
<p class="ConfigMarkupElementDesc">
An instance of a JAXP-compliant XSLT processor</p>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processorType.html b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processorType.html
index 2b8140f..d7fb5f1 100644
--- a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processorType.html
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processorType.html
@@ -14,13 +14,13 @@
<p></p>
<p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.processorType">processorType</a>+)></p>
<p class="code SchemaDtd"><!ATTLIST extension</p>
-<p class="code SchemaDtdAttlist">point CDATA #REQUIRED<p class="code SchemaDtdAttlist">id CDATA #IMPLIED<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p>
+<p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd"><!ELEMENT <a name="e.processorType">processorType</a> (<a href="#e.transformerFactory">transformerFactory</a>*)></p>
<p class="code SchemaDtd"><!ATTLIST processorType</p>
-<p class="code SchemaDtdAttlist">id CDATA #REQUIRED<p class="code SchemaDtdAttlist">label CDATA #REQUIRED<p class="code SchemaDtdAttlist">outputProperties CDATA #IMPLIED<p class="code SchemaDtdAttlist">attributeProperties CDATA #IMPLIED></p>
+<p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">label CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">outputProperties CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">attributeProperties CDATA #IMPLIED</p>></p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - Unique id for the processor type</li>
@@ -30,7 +30,7 @@
</ul>
<br><p class="code SchemaDtd"><!ELEMENT <a name="e.transformerFactory">transformerFactory</a> EMPTY></p>
<p class="code SchemaDtd"><!ATTLIST transformerFactory</p>
-<p class="code SchemaDtdAttlist">factoryClass CDATA #REQUIRED<p class="code SchemaDtdAttlist">name CDATA #REQUIRED></p>
+<p class="code SchemaDtdAttlist">factoryClass CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p>></p>
<p></p>
<p class="ConfigMarkupElementDesc">
A TransformerFactory for this type</p>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_ui_contentAssistProcessor.html b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_ui_contentAssistProcessor.html
new file mode 100644
index 0000000..12d6dcb
--- /dev/null
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/doc/html/extension_point/org_eclipse_wst_xsl_ui_contentAssistProcessor.html
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>XSL Content Assistance</title>
+<style type="text/css">@import url("../../book.css");</style>
+<style type="text/css">@import url("../../schema.css");</style>
+</HEAD>
+<BODY>
+<H1 style="text-align:center">XSL Content Assistance</H1>
+<p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.wst.xsl.ui.contentAssistProcessor<p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.1
+<p></p>
+
+<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>XSL Content Asisstance processor extension point, allows for the contribution of adopter defined XSL processor extensions.<p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
+<p></p>
+<p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.processor">processor</a>+)></p>
+<p class="code SchemaDtd"><!ATTLIST extension</p>
+<p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
+<p></p>
+<ul class="ConfigMarkupAttlistDesc">
+<li><b>point</b> - A unique ID for this extension point</li>
+<li><b>name</b> - Extension point name</li>
+</ul>
+<br><p class="code SchemaDtd"><!ELEMENT <a name="e.processor">processor</a> EMPTY></p>
+<p class="code SchemaDtd"><!ATTLIST processor</p>
+<p class="code SchemaDtdAttlist">class CDATA #REQUIRED</p>></p>
+<p></p>
+<p class="ConfigMarkupElementDesc">
+Processor that provides content assistance</p>
+<br>
+<ul class="ConfigMarkupAttlistDesc">
+<li><b>class</b> - The class that implements the content assistant processor.</li>
+</ul>
+<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><p><extension
+ point="org.eclipse.wst.xsl.ui.contentAssistProcessor"></p>
+<p>   <processor
+ class="org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor"></p>
+<p>   </processor></p>
+<p></extension></p>
+<p></p>
+
+<br>
+<p class="note SchemaCopyright">
+*******************************************************************************
+ * Copyright (c) 2009 Standards for Technology in Automotive Retail 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * David Carver (STAR) - initial API and implementation
+ ******************************************************************************
+
+</p>
+</BODY>
+</HTML>
diff --git a/docs/org.eclipse.wst.xsl.sdk.documentation/tocExtension.xml b/docs/org.eclipse.wst.xsl.sdk.documentation/tocExtension.xml
index 53809f8..be87452 100644
--- a/docs/org.eclipse.wst.xsl.sdk.documentation/tocExtension.xml
+++ b/docs/org.eclipse.wst.xsl.sdk.documentation/tocExtension.xml
@@ -12,4 +12,8 @@
<topic href="doc/html/extension_point/org_eclipse_wst_xsl_jaxp_launching_processorType.html" label="org.eclipse.wst.xsl.jaxp.processorType">
</topic>
</topic>
+ <topic label="XSLT Editor">
+ <topic href="doc/html/extension_point/org_eclipse_wst_xsl_ui_contentAssistProcessor.html" label="org.eclipse.wst.xsl.ui.contentAssistProcessor">
+ </topic>
+ </topic>
</toc>