| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.core.runtime"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.core.runtime" id="products" name="Products"/> |
| </appInfo> |
| <documentation> |
| Products are the Eclipse unit of branding. Product extensions are supplied by plug-ins wishing to define one or more products. There must be one product per extension as the extension id is used in processing and identifying the product. |
| <p> |
| There are two possible forms of product extension, static and dynamic. Static product extensions directly contain all relevant information about the product. Dynamic product extensions identify a class (an <code>IProductProvider</code>) which is capable of defining one or more products when queried. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <choice> |
| <element ref="product"/> |
| <element ref="provider"/> |
| </choice> |
| </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="product"> |
| <complexType> |
| <sequence> |
| <element ref="property" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="application" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the default application to run when running this product |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the human-readable name of this product |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| the human-readable description of this product |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="property"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the key under which this property is stored |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="value" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the value of this property |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="provider"> |
| <annotation> |
| <documentation> |
| details of a product provider |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="run"/> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <element name="run"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the fully-qualified name of a class which implements |
| <samp>org.eclipse.core.runtime.IProductProvider</samp>. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.core.runtime.IProductProvider"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 3.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| Following is an example of static product declaration: |
| <p> |
| <pre> |
| <extension id="coolProduct" point="org.eclipse.core.runtime.products"> |
| <product name="%coolName" application="coolApplication" description="%coolDescription"> |
| <property name="windowImages" value="window.gif"/> |
| <property name="aboutImage" value="image.gif"/> |
| <property name="aboutText" value="%aboutText"/> |
| <property name="appName" value="CoolApp"/> |
| <property name="welcomePage" value="$nl$/welcome.xml"/> |
| <property name="preferenceCustomization" value="plugin_customization.ini"/> |
| </product> |
| </extension> |
| </pre> |
| </p> |
| |
| The following is an example of a dynamic product (product provider) declaration: |
| Following is an example of an application declaration: |
| <p> |
| <pre> |
| <extension id="coolProvider" point="org.eclipse.core.runtime.products"> |
| <provider> |
| <run class="com.example.productProvider"/> |
| </provider> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| Static product extensions provided here are represented at runtime by instances of <code>IProduct</code>. Dynamic product extensions must identify an implementor of <code>IProductProvider</code>. See <code>org.eclipse.ui.branding.IProductConstants</code> |
| for details of the branding related product properties defined by the Eclipse UI. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| No implementations of <code>IProductProvider</code> are supplied. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2004, 2005 IBM Corporation and others.<br> |
| 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 |
| <a |
| href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |