Author: vrubezhny
Date: 2009-10-19 12:52:31 -0400 (Mon, 19 Oct 2009)
New Revision: 18167
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/include.exsd
Log:
JBIDE-3563: Code assist for "class" and "styleClass" attributes for
html and jsf tags.
Minor changes on Include schema (commented) and plugin.xml
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2009-10-19 16:34:38 UTC (rev
18166)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2009-10-19 16:52:31 UTC (rev
18167)
@@ -90,11 +90,9 @@
</contexttype>
<cssholder uri="">
- <tag name="style" caseinsensitive="true" />
- <tag name="link" caseinsensitive="true">
- <attribute
- name="href">
- </attribute>
+ <tag name="style" />
+ <tag name="link">
+ <attribute name="href" />
</tag>
</cssholder>
</extension>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/include.exsd
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/include.exsd 2009-10-19 16:34:38
UTC (rev 18166)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/include.exsd 2009-10-19 16:52:31
UTC (rev 18167)
@@ -7,7 +7,6 @@
</appInfo>
<documentation>
The extension point allows the application to define URIs, tags and Attributes
that allow the part of code to be included into the page content.
-
</documentation>
</annotation>
@@ -18,8 +17,7 @@
</appInfo>
<documentation>
Defines an extension point for the Include definitions.
-
- This extension point is used to add information on which tags/tag attributes are
used to include a source into a JSP/XHTML page
+This extension point is used to add information on which tags/tag attributes are used to
include a source into a JSP/XHTML page
</documentation>
</annotation>
<complexType>
@@ -76,7 +74,7 @@
<element name="tag">
<annotation>
<documentation>
- Defines a tag item. Contains information on tags that have the
'include-to-page-content' possibility.
+ Defines a tag item. Contains information on tags that have the
'include-to-page-content' possibility or 'load CSS Style
Sheet' possibility depending on its parent schema element
</documentation>
</annotation>
<complexType>
@@ -96,7 +94,7 @@
<element name="attribute">
<annotation>
<documentation>
- Defines an attribute item. Contains information on attributes that have the
'include-to-page-content' possibility.
+ Defines an attribute item. Contains information on attributes that have the
'include-to-page-content' possibility or 'load CSS Style
Sheet' possibility depending on its parent schema element
</documentation>
</annotation>
<complexType>
@@ -109,7 +107,7 @@
</attribute>
</complexType>
</element>
-
+
<element name="contexttype">
<annotation>
<documentation>
@@ -146,7 +144,7 @@
</attribute>
</complexType>
</element>
-
+
<element name="cssholder">
<annotation>
<documentation>
@@ -183,15 +181,27 @@
</appInfo>
<documentation>
<pre>
- <extension-point id="KbInclude" name="Kb Include
Context Buillder" />
+ <extension-point id="KbInclude" name="Kb Include
Context Buillder" />
- <extension
point="org.jboss.tools.jst.web.kb.KbInclude">
- <include
uri="http://java.sun.com/jsf/core">
- <tag name="jsp.include">
- <attribute name="file" />
- </tag>
- </include>
- </extension>
+ <extension
point="org.jboss.tools.jst.web.kb.KbInclude">
+ <include
uri="http://java.sun.com/jsf/core">
+ <tag name="jsp.include">
+ <attribute name="file" />
+ </tag>
+ </include>
+ <contexttype id="JSP_PAGE_CONTEXT_TYPE">
+ <contenttype id="org.eclipse.jst.jsp.core.jspsource"
/>
+ </contexttype>
+ <contexttype id="FACELETS_PAGE_CONTEXT_TYPE">
+ <contenttype id="org.eclipse.wst.html.core.htmlsource"
/>
+ </contexttype>
+ <cssholder uri="">
+ <tag name="style"/>
+ <tag name="link">
+ <attribute name="href"/>
+ </tag>
+ </cssholder>
+ </extension>
</pre>
</documentation>
</annotation>