Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Sternberg2012-11-14 20:13:20 +0000
committerRalf Sternberg2012-11-14 20:25:13 +0000
commit6cbe7717e20e7d3e3929a8c6d84310608ebc110b (patch)
tree5dcae047e2a8aa9588ffc0a4db5103e7d669e280 /bundles/org.eclipse.rap.ui
parent34b093dcdd488a0cd100aba8b9b7102ba44e51ee (diff)
downloadorg.eclipse.rap-6cbe7717e20e7d3e3929a8c6d84310608ebc110b.tar.gz
org.eclipse.rap-6cbe7717e20e7d3e3929a8c6d84310608ebc110b.tar.xz
org.eclipse.rap-6cbe7717e20e7d3e3929a8c6d84310608ebc110b.zip
Remove Windows linebreaks
Diffstat (limited to 'bundles/org.eclipse.rap.ui')
-rw-r--r--bundles/org.eclipse.rap.ui/schema/rap/branding.exsd704
-rw-r--r--bundles/org.eclipse.rap.ui/schema/rap/entrypoint.exsd340
-rw-r--r--bundles/org.eclipse.rap.ui/schema/rap/resources.exsd284
3 files changed, 664 insertions, 664 deletions
diff --git a/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd b/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd
index ab9d73b96f..4f74cb8ff8 100644
--- a/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd
@@ -1,352 +1,352 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.rap.ui" id="branding" name="Branding"/>
- </appInfo>
- <documentation>
- A branding adds customizations and styling to the UI of a RAP application. It can be used to set the title and icon displayed in the browser, or to apply a custom theme and styling. A branding is associated with a name and can be activated by using this name as the servlet name in the URL.
-&lt;p&gt;
-Brandings can reside in a separate bundle, i.e. it is possible to brand applications without modifying their containing bundles.
-&lt;/p&gt;
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- </annotation>
- <complexType>
- <sequence minOccurs="1" maxOccurs="unbounded">
- <element ref="branding"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="branding">
- <annotation>
- <appInfo>
- <meta.element labelAttribute="title"/>
- </appInfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="additionalHeaders" minOccurs="0" maxOccurs="1"/>
- <element ref="presentationFactory" minOccurs="0" maxOccurs="1"/>
- </sequence>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The identifier of the branding.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="themeId" type="string">
- <annotation>
- <documentation>
- The theme to be used with this branding. If omitted, the default theme is used.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.themes/theme/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="title" type="string">
- <annotation>
- <documentation>
- The title of the application. This title is usually displayed as the browser window title or in the browser tab.
-&lt;p&gt;
-Effectively sets the &amp;lt;title&amp;gt; element of the HTML head.
-&lt;/p&gt;
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="favicon" type="string">
- <annotation>
- <documentation>
- The icon to be displayed with this application. The favicon is usually shown next to the browser&apos;s address bar or in the browser tab.
-&lt;p&gt;
-The icon should be in the .ico format for compatibility with all browsers.
-&lt;/p&gt;
- </documentation>
- <appInfo>
- <meta.attribute kind="resource"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="body" type="string">
- <annotation>
- <documentation>
- A file that contains HTML markup to be added to the body of the RAP startup page. The file may contain any valid HTML.
- </documentation>
- <appInfo>
- <meta.attribute kind="resource"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="additionalHeaders">
- <annotation>
- <documentation>
- Any additional header element to be added to the HTML page.
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="1" maxOccurs="unbounded">
- <choice>
- <element ref="meta"/>
- <element ref="link"/>
- </choice>
- </sequence>
- </complexType>
- </element>
-
- <element name="meta">
- <annotation>
- <documentation>
- HTML META elements, used to provide structured metadata about a web page like author, keywords, description.
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="unbounded">
- <element ref="attribute"/>
- </sequence>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- The name attribute of the META element.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="content" type="string">
- <annotation>
- <documentation>
- The content attribute of the META element.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="link">
- <annotation>
- <documentation>
- HTML LINK elements, used to link the webpage with external resources such as CSS style sheets.
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="unbounded">
- <element ref="attribute"/>
- </sequence>
- <attribute name="rel" type="string">
- <annotation>
- <documentation>
- The rel attribute of the LINK tag.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="href" type="string">
- <annotation>
- <documentation>
- The href attribute of the LINK tag.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="attribute">
- <annotation>
- <documentation>
- Additional attributes to be added to HTML elements.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- The name of the attribute.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="value" type="string">
- <annotation>
- <documentation>
- The value of the attribute.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="presentationFactory">
- <complexType>
- <sequence>
- <element ref="stackPresentation" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="defaultStackPresentation" minOccurs="0" maxOccurs="1"/>
- </sequence>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The id of the PresentationFactory to load.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.ui.presentationFactories/factory/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="defaultLayoutId" type="string">
- <annotation>
- <documentation>
- The id of the default Layout to load.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.layouts/layout/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="viewActionsVisible" type="boolean">
- <annotation>
- <documentation>
- Sets the default vibility for a view&apos;s contribution items (actions/commands). The default value is false. When set to true, all items are visible by default. Otherwise all items are invisible and can be configured via the configuration menu.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="stackPresentation">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The id of the StackPresentation
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.stackPresentations/stackPresentation/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="partId" type="string" use="required">
- <annotation>
- <documentation>
- The id of the part to couple with the id of the StackPresentation.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="defaultStackPresentation">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The id of the StackPresentation, which is loaded if no mapping for parts and stackPresentations exists.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.stackPresentations/stackPresentation/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- RAP 1.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- &lt;pre&gt;
-&lt;extension
- point=&quot;org.eclipse.rap.ui.branding&quot;&gt;
- &lt;branding
- id=&quot;org.example.tea.teabranding&quot;
- servletName=&quot;tea&quot;
- defaultEntrypointId=&quot;org.example.tea.application&quot;
- themeId=&quot;org.example.tea.teatheme&quot;
- title=&quot;Tea Portal&quot;
- favicon=&quot;icons/favicon.ico&quot;
- body=&quot;body.html&quot;
- exitConfirmationClass=&quot;org.example.tea.ExitConfirmation&quot;&gt;
- &lt;/branding&gt;
-&lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- There is no API available for branding.
- </documentation>
- </annotation>
-
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2007, 2010 Innoopract Informationssysteme GmbH and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.rap.ui" id="branding" name="Branding"/>
+ </appInfo>
+ <documentation>
+ A branding adds customizations and styling to the UI of a RAP application. It can be used to set the title and icon displayed in the browser, or to apply a custom theme and styling. A branding is associated with a name and can be activated by using this name as the servlet name in the URL.
+&lt;p&gt;
+Brandings can reside in a separate bundle, i.e. it is possible to brand applications without modifying their containing bundles.
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element ref="branding"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="branding">
+ <annotation>
+ <appInfo>
+ <meta.element labelAttribute="title"/>
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="additionalHeaders" minOccurs="0" maxOccurs="1"/>
+ <element ref="presentationFactory" minOccurs="0" maxOccurs="1"/>
+ </sequence>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The identifier of the branding.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="themeId" type="string">
+ <annotation>
+ <documentation>
+ The theme to be used with this branding. If omitted, the default theme is used.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.themes/theme/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="title" type="string">
+ <annotation>
+ <documentation>
+ The title of the application. This title is usually displayed as the browser window title or in the browser tab.
+&lt;p&gt;
+Effectively sets the &amp;lt;title&amp;gt; element of the HTML head.
+&lt;/p&gt;
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="favicon" type="string">
+ <annotation>
+ <documentation>
+ The icon to be displayed with this application. The favicon is usually shown next to the browser&apos;s address bar or in the browser tab.
+&lt;p&gt;
+The icon should be in the .ico format for compatibility with all browsers.
+&lt;/p&gt;
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="body" type="string">
+ <annotation>
+ <documentation>
+ A file that contains HTML markup to be added to the body of the RAP startup page. The file may contain any valid HTML.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="additionalHeaders">
+ <annotation>
+ <documentation>
+ Any additional header element to be added to the HTML page.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <choice>
+ <element ref="meta"/>
+ <element ref="link"/>
+ </choice>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="meta">
+ <annotation>
+ <documentation>
+ HTML META elements, used to provide structured metadata about a web page like author, keywords, description.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="attribute"/>
+ </sequence>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ The name attribute of the META element.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="content" type="string">
+ <annotation>
+ <documentation>
+ The content attribute of the META element.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="link">
+ <annotation>
+ <documentation>
+ HTML LINK elements, used to link the webpage with external resources such as CSS style sheets.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="attribute"/>
+ </sequence>
+ <attribute name="rel" type="string">
+ <annotation>
+ <documentation>
+ The rel attribute of the LINK tag.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="href" type="string">
+ <annotation>
+ <documentation>
+ The href attribute of the LINK tag.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="attribute">
+ <annotation>
+ <documentation>
+ Additional attributes to be added to HTML elements.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ The name of the attribute.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="value" type="string">
+ <annotation>
+ <documentation>
+ The value of the attribute.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="presentationFactory">
+ <complexType>
+ <sequence>
+ <element ref="stackPresentation" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="defaultStackPresentation" minOccurs="0" maxOccurs="1"/>
+ </sequence>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the PresentationFactory to load.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.presentationFactories/factory/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="defaultLayoutId" type="string">
+ <annotation>
+ <documentation>
+ The id of the default Layout to load.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.layouts/layout/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="viewActionsVisible" type="boolean">
+ <annotation>
+ <documentation>
+ Sets the default vibility for a view&apos;s contribution items (actions/commands). The default value is false. When set to true, all items are visible by default. Otherwise all items are invisible and can be configured via the configuration menu.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="stackPresentation">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the StackPresentation
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.stackPresentations/stackPresentation/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="partId" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the part to couple with the id of the StackPresentation.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="defaultStackPresentation">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the StackPresentation, which is loaded if no mapping for parts and stackPresentations exists.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.stackPresentations/stackPresentation/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ RAP 1.0
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ &lt;pre&gt;
+&lt;extension
+ point=&quot;org.eclipse.rap.ui.branding&quot;&gt;
+ &lt;branding
+ id=&quot;org.example.tea.teabranding&quot;
+ servletName=&quot;tea&quot;
+ defaultEntrypointId=&quot;org.example.tea.application&quot;
+ themeId=&quot;org.example.tea.teatheme&quot;
+ title=&quot;Tea Portal&quot;
+ favicon=&quot;icons/favicon.ico&quot;
+ body=&quot;body.html&quot;
+ exitConfirmationClass=&quot;org.example.tea.ExitConfirmation&quot;&gt;
+ &lt;/branding&gt;
+&lt;/extension&gt;
+&lt;/pre&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ There is no API available for branding.
+ </documentation>
+ </annotation>
+
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2007, 2010 Innoopract Informationssysteme GmbH and others.&lt;br&gt;
+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 &lt;a
+href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+ </documentation>
+ </annotation>
+
+</schema>
diff --git a/bundles/org.eclipse.rap.ui/schema/rap/entrypoint.exsd b/bundles/org.eclipse.rap.ui/schema/rap/entrypoint.exsd
index 3010a5b00a..fa1d002fb9 100644
--- a/bundles/org.eclipse.rap.ui/schema/rap/entrypoint.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/rap/entrypoint.exsd
@@ -1,170 +1,170 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.rap.ui" id="entrypoint" name="EntryPoint"/>
- </appInfo>
- <documentation>
- For every RAP application, an entry point class must be registered with the framework. The framework will create a separate instance of this entry point for every user session. Entry points must implement the interface &lt;code&gt;IEntryPoint&lt;/code&gt;.
-&lt;p&gt;
-An application can register several entrypoints, each at a different URL path. To access an entry point, the path that it is registered at must be appended to the context path of the application.
-&lt;/p&gt;
-&lt;p&gt;
-As an alternative to registering an entrypoint, Eclipse applications can also use the interface &lt;code&gt;IApplication&lt;/code&gt;.
-&lt;/p&gt;
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="entrypoint" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="entrypoint">
- <annotation>
- <appInfo>
- <meta.element labelAttribute="parameter"/>
- </appInfo>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The identifier of this entrypoint. Used in &lt;code&gt;org.eclipse.rap.ui.branding&lt;/code&gt; extension point.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- An implementation of &lt;code&gt;IEntryPoint&lt;/code&gt; which starts the application.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.rwt.lifecycle.IEntryPoint"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="path" type="string" use="required">
- <annotation>
- <documentation>
- The URL path to register the entry point at. Must start with a slash.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="brandingId" type="string">
- <annotation>
- <documentation>
- Specify the (optional) branding that should be used if this entry point is started.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.branding/branding/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- Each entrypoint has to implement the &lt;code&gt;IEntryPoint&lt;/code&gt; interface.
-In the createUI() method the user interface of the application is created.
-An entrypoint for a simple RAP application could look like this:
-
-&lt;pre&gt;
-public class MyEntryPoint implements IEntryPoint {
-
- public int createUI() {
- Display display = new Display();
- Shell shell = new Shell( display );
- shell.setLayout( new GridLayout() );
-
- Label label = new Label( shell, SWT.NONE );
- label.setText( &quot;Hello World!&quot; );
-
- shell.layout();
- shell.open();
- return 0;
- }
-}
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- RAP 1.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- &lt;pre&gt;
-&lt;extension
- id=&quot;org.eclipse.rap.demo.demoentrypoint&quot;
- point=&quot;org.eclipse.rap.ui.entrypoint&quot;&gt;
- &lt;entrypoint
- id=&quot;org.eclipse.rap.demo.entrypoint&quot;
- class=&quot;org.eclipse.rap.demo.MyEntrypoint&quot;
- path=&quot;/myapp&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2007, 2012 Innoopract Informationssysteme GmbH and others.&lt;br&gt;
-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
-&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.rap.ui" id="entrypoint" name="EntryPoint"/>
+ </appInfo>
+ <documentation>
+ For every RAP application, an entry point class must be registered with the framework. The framework will create a separate instance of this entry point for every user session. Entry points must implement the interface &lt;code&gt;IEntryPoint&lt;/code&gt;.
+&lt;p&gt;
+An application can register several entrypoints, each at a different URL path. To access an entry point, the path that it is registered at must be appended to the context path of the application.
+&lt;/p&gt;
+&lt;p&gt;
+As an alternative to registering an entrypoint, Eclipse applications can also use the interface &lt;code&gt;IApplication&lt;/code&gt;.
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="entrypoint" minOccurs="1" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="entrypoint">
+ <annotation>
+ <appInfo>
+ <meta.element labelAttribute="parameter"/>
+ </appInfo>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The identifier of this entrypoint. Used in &lt;code&gt;org.eclipse.rap.ui.branding&lt;/code&gt; extension point.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ An implementation of &lt;code&gt;IEntryPoint&lt;/code&gt; which starts the application.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.rwt.lifecycle.IEntryPoint"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="path" type="string" use="required">
+ <annotation>
+ <documentation>
+ The URL path to register the entry point at. Must start with a slash.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="brandingId" type="string">
+ <annotation>
+ <documentation>
+ Specify the (optional) branding that should be used if this entry point is started.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.branding/branding/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ Each entrypoint has to implement the &lt;code&gt;IEntryPoint&lt;/code&gt; interface.
+In the createUI() method the user interface of the application is created.
+An entrypoint for a simple RAP application could look like this:
+
+&lt;pre&gt;
+public class MyEntryPoint implements IEntryPoint {
+
+ public int createUI() {
+ Display display = new Display();
+ Shell shell = new Shell( display );
+ shell.setLayout( new GridLayout() );
+
+ Label label = new Label( shell, SWT.NONE );
+ label.setText( &quot;Hello World!&quot; );
+
+ shell.layout();
+ shell.open();
+ return 0;
+ }
+}
+&lt;/pre&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ RAP 1.0
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ &lt;pre&gt;
+&lt;extension
+ id=&quot;org.eclipse.rap.demo.demoentrypoint&quot;
+ point=&quot;org.eclipse.rap.ui.entrypoint&quot;&gt;
+ &lt;entrypoint
+ id=&quot;org.eclipse.rap.demo.entrypoint&quot;
+ class=&quot;org.eclipse.rap.demo.MyEntrypoint&quot;
+ path=&quot;/myapp&quot;/&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+ </documentation>
+ </annotation>
+
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2007, 2012 Innoopract Informationssysteme GmbH and others.&lt;br&gt;
+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
+&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+ </documentation>
+ </annotation>
+
+</schema>
diff --git a/bundles/org.eclipse.rap.ui/schema/rap/resources.exsd b/bundles/org.eclipse.rap.ui/schema/rap/resources.exsd
index d288611014..84ea339fd4 100644
--- a/bundles/org.eclipse.rap.ui/schema/rap/resources.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/rap/resources.exsd
@@ -1,142 +1,142 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.rap.ui" id="resources" name="Resources"/>
- </appInfo>
- <documentation>
- The &lt;code&gt;resources&lt;/code&gt; extension point is used to register additional resources which are used in the client application. This can be for example a javascript library, additional images used by the client or other documents which are then available on the client. The resource can be located locally or loaded from an external location.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="resource" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="resource">
- <annotation>
- <appInfo>
- <meta.element labelAttribute="class"/>
- </appInfo>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="unbounded">
- <element ref="dependsOn"/>
- </sequence>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- An optional identifier of the resource instance.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- An implementation of &lt;code&gt;org.eclipse.rap.ui.resources.IResource&lt;/code&gt; to define location, options and other aspects for this resource.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.rap.ui.resources.IResource"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="dependsOn">
- <complexType>
- <attribute name="resourceId" type="string" use="required">
- <annotation>
- <documentation>
- The resourceId is used to identify the resource on which this resource depends on.
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.resources/resource/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- RAP 1.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- &lt;pre&gt;
-&lt;extension
- id=&quot;org.eclipse.rap.gmaps.gmap&quot;
- point=&quot;org.eclipse.rap.ui.resources&quot;&gt;
- &lt;resource class=&quot;org.eclipse.rap.gmaps.GMapResource&quot;/&gt;
-&lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- Besides registering resources with an extension you can dynamically register new resources with an &lt;code&gt;IResourceManager&lt;/code&gt;. Use &lt;code&gt;RWT.getResourceManager&lt;/code&gt; to obtain the currently active resource manager implemenation.
- </documentation>
- </annotation>
-
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2007 Innoopract Informationssysteme GmbH and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.rap.ui" id="resources" name="Resources"/>
+ </appInfo>
+ <documentation>
+ The &lt;code&gt;resources&lt;/code&gt; extension point is used to register additional resources which are used in the client application. This can be for example a javascript library, additional images used by the client or other documents which are then available on the client. The resource can be located locally or loaded from an external location.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="resource" minOccurs="1" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="resource">
+ <annotation>
+ <appInfo>
+ <meta.element labelAttribute="class"/>
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="dependsOn"/>
+ </sequence>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ An optional identifier of the resource instance.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ An implementation of &lt;code&gt;org.eclipse.rap.ui.resources.IResource&lt;/code&gt; to define location, options and other aspects for this resource.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.rap.ui.resources.IResource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="dependsOn">
+ <complexType>
+ <attribute name="resourceId" type="string" use="required">
+ <annotation>
+ <documentation>
+ The resourceId is used to identify the resource on which this resource depends on.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.rap.ui.resources/resource/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ RAP 1.0
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ &lt;pre&gt;
+&lt;extension
+ id=&quot;org.eclipse.rap.gmaps.gmap&quot;
+ point=&quot;org.eclipse.rap.ui.resources&quot;&gt;
+ &lt;resource class=&quot;org.eclipse.rap.gmaps.GMapResource&quot;/&gt;
+&lt;/extension&gt;
+&lt;/pre&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ Besides registering resources with an extension you can dynamically register new resources with an &lt;code&gt;IResourceManager&lt;/code&gt;. Use &lt;code&gt;RWT.getResourceManager&lt;/code&gt; to obtain the currently active resource manager implemenation.
+ </documentation>
+ </annotation>
+
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2007 Innoopract Informationssysteme GmbH and others.&lt;br&gt;
+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 &lt;a
+href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+ </documentation>
+ </annotation>
+
+</schema>

Back to the top