Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-11-13 19:05:26 +0000
committerCurtis D'Entremont2006-11-13 19:05:26 +0000
commita5f1c2f10c7d62121f866fdfaef641ec2612067f (patch)
treec2056eee61b8182ec431c886b23e88b42083af41 /org.eclipse.ui.intro/schema/introContentFileSpec.html
parent5a719a769e5059b0d242b0d2c5429ccfc528c77a (diff)
downloadeclipse.platform.ua-a5f1c2f10c7d62121f866fdfaef641ec2612067f.tar.gz
eclipse.platform.ua-a5f1c2f10c7d62121f866fdfaef641ec2612067f.tar.xz
eclipse.platform.ua-a5f1c2f10c7d62121f866fdfaef641ec2612067f.zip
163558 Dynamic content support for all UAv20061113
Diffstat (limited to 'org.eclipse.ui.intro/schema/introContentFileSpec.html')
-rw-r--r--org.eclipse.ui.intro/schema/introContentFileSpec.html37
1 files changed, 25 insertions, 12 deletions
diff --git a/org.eclipse.ui.intro/schema/introContentFileSpec.html b/org.eclipse.ui.intro/schema/introContentFileSpec.html
index 9a99cad7d..fca747e2d 100644
--- a/org.eclipse.ui.intro/schema/introContentFileSpec.html
+++ b/org.eclipse.ui.intro/schema/introContentFileSpec.html
@@ -2,12 +2,8 @@
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Intro Content File XML Format</title>
-<!-- default platform documentation stylesheets -->
-<style>@import url("../../book.css");</style>
-<style>@import url("book.css");</style>
-<!-- default schema documentation stylesheets -->
-<style>@import url("schema.css");</style>
-<style>@import url("../../schema.css");</style>
+<style>@import url("file:/C:/Users/eclipse/Desktop/curtis/eclipse/plugins/org.eclipse.sdk_3.3.0.v20060705/book.css");</style>
+<style>@import url("file:/C:/Users/eclipse/Desktop/curtis/eclipse/configuration/org.eclipse.osgi/bundles/72/1/.cp/schema.css");</style>
</HEAD>
<BODY>
<H1><CENTER>Intro Content File XML Format</CENTER></H1>
@@ -16,10 +12,10 @@
<p>
<h6 class=CaptionFigColumn id=header>Description: </h6>This document describes the intro content file structure as a series of DTD fragments.</p>
<p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.introContent">introContent</a> (<a href="#e.page">page</a> | <a href="#e.group">group</a> | <a href="#e.extensionContent">extensionContent</a>)+&gt;</p>
+<p class=code id=dtd>&lt;!ELEMENT <a name="e.introContent">introContent</a> (<a href="#e.page">page</a> | <a href="#e.group">group</a> | <a href="#e.extensionContent">extensionContent</a> | <a href="#e.replacementContent">replacementContent</a>)+&gt;</p>
<p></p>
<p class=ConfigMarkup id=elementDesc>
-The introContent element defines the body of the intro content file. The content file is made up of pages, shared groups that can be included in multiple pages, and extensions to anchor points defined in other configurations.</p>
+The introContent element defines the body of the intro content file. The content file is made up of pages, shared groups that can be included in multiple pages, extensions to anchor points defined in other configurations, or replacements of existing elements.</p>
<br><br>
<p class=code id=dtd>&lt;!ELEMENT <a name="e.page">page</a> (<a href="#e.group">group</a> | <a href="#e.link">link</a> | <a href="#e.text">text</a> | <a href="#e.head">head</a> | <a href="#e.img">img</a> | <a href="#e.include">include</a> | <a href="#e.html">html</a> | <a href="#e.title">title</a> | <a href="#e.anchor">anchor</a> | <a href="#e.contentProvider">contentProvider</a>)+&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST page</p>
@@ -85,7 +81,7 @@ This markup is only to be used with an HTML based intro part implementation. It
<li><b>src</b> - relative or absolute URL to a file containing HTML to include directly into the HTML head section. If the content contains substitution segments of the form $plugin:plugin_id$ then they will be replaced with the absolute path to the plugin with id plugin_id.</li>
<li><b>encoding</b> - an optional attribute to specify the encoding of the inlined file containing the head snippet. Default is UTF-8. Since 3.0.1</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.title">title</a> (#PCDATA)&gt;</p>
+<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.title">title</a> EMPTY&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST title</p>
<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>style-id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>filteredFrom&nbsp;(swt|html) &gt;</p>
<p></p>
@@ -192,7 +188,7 @@ will process the message parameter as "This is a message".<br>
<li><b>style-id</b> - A means to classifiy this link into a given category so that a common style may be applied.</li>
<li><b>filteredFrom</b> - an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.text">text</a> (#PCDATA)&gt;</p>
+<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.text">text</a> EMPTY&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST text</p>
<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>style-id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>filteredFrom&nbsp;(swt|html) &gt;</p>
<p></p>
@@ -260,12 +256,12 @@ an anchor is the element used to declare extensibility. It is a location in the
<ul class=ConfigMarkup id=attlistDesc>
<li><b>id</b> - unique id to identify this anchor.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.extensionContent">extensionContent</a> (<a href="#e.text">text</a> | <a href="#e.group">group</a> | <a href="#e.link">link</a> | <a href="#e.html">html</a> | <a href="#e.include">include</a>)&gt;</p>
+<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.extensionContent">extensionContent</a> (<a href="#e.text">text</a> | <a href="#e.group">group</a> | <a href="#e.link">link</a> | <a href="#e.html">html</a> | <a href="#e.include">include</a>)+&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST extensionContent</p>
<p class=code id=dtdAttlist>path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>style&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>alt-style&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>content&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
<p class=ConfigMarkup id=elementDesc>
-The content to be added to the target anchor. Only one extensionContent is allowed in a given configExtension because if this extension could not be resolved (if the config could not be found, or the target anchor element could not be found) then the pages and/or groups in the extension need to be ingnored.</p>
+The content to be added to the target anchor. Only one <code>extensionContent</code> or <code>replacementContent</code> is allowed in a given configExtension because if this extension could not be resolved (if the config could not be found, or the target anchor could not be found) then the pages and/or groups in the extension need to be ingnored.</p>
<br>
<ul class=ConfigMarkup id=attlistDesc>
<li><b>path</b> - the path that uniquely represents the path to an anchor. (e.g. page/group1/group2/anchorId) within the target configuration to be extended. It can only be an anchor which can be in any page or group, including shared groups at configuration level.</li>
@@ -279,6 +275,23 @@ Since 3.1, styles can also be a comma separated list of styles. These styles wil
<li><b>id</b> - (since 3.2) a unique identifier of this extension required when used in conjunction with intro configurer.</li>
<li><b>name</b> - (since 3.2) a translatable name of this extension required when used in conjunction with intro configurer</li>
</ul>
+<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.replacementContent">replacementContent</a> (<a href="#e.text">text</a> | <a href="#e.group">group</a> | <a href="#e.link">link</a> | <a href="#e.html">html</a> | <a href="#e.include">include</a>)+&gt;</p>
+<p class=code id=dtd>&lt;!ATTLIST replacementContent</p>
+<p class=code id=dtdAttlist>path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>style&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>alt-style&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>content&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
+<p></p>
+<p class=ConfigMarkup id=elementDesc>
+(since 3.3) The content to replace the target element. Only one <code>extensionContent</code> or <code>replacementContent</code> is allowed in a given configExtension because if this extension could not be resolved (if the config could not be found, or the target element could not be found) then the pages and/or groups in the extension need to be ignored.</p>
+<br>
+<ul class=ConfigMarkup id=attlistDesc>
+<li><b>path</b> - the path that uniquely represents the path to the element to be replaced. (e.g. page/group1/group2/elementId) within the target configuration to be extended. To replace content contributed from an <code>extensionContent</code>, you may use a path of the form <code>pageId/@extension_id/path_in_extension</code> and it will be resolved to the specified extension.</li>
+<li><b>style</b> - A relative path to a CSS file which is applied to the page only when using the Web based presentation. The path is relative to the location of this xml content file. <br>
+
+Since 3.1, styles can also be a comma separated list of styles. These styles will be injected into the HTML HEAD element in the order in which they are listed in the style attribute.</li>
+<li><b>alt-style</b> - A relative path to a SWT presentation properies file which is applied to the page only when using the SWT based presentation. The path is relative to the location of this xml content file. <br>
+
+Since 3.1, styles can also be a comma separated list of styles. These styles will be used when creating the SWT presentation of the welcome page.</li>
+<li><b>content</b> - if content is defined, it is assumed that the extension content is defined in an external XHTML file. In that case the resource pointed to by this content attribute is loaded and the path attribute is now resolved in this external file. since 3.1</li>
+</ul>
<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.contentProvider">contentProvider</a> (<a href="#e.text">text</a>?)&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST contentProvider</p>
<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>class&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>pluginId&nbsp;CDATA #IMPLIED&gt;</p>

Back to the top