schema.products.exsd Maven / Gradle / Ivy
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.
the default application to run when running this product
the human-readable name of this product
the human-readable description of this product
the key under which this property is stored
the value of this property
details of a product provider
the fully-qualified name of a class which implements
<samp>org.eclipse.core.runtime.IProductProvider</samp>.
3.0
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>
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.
No implementations of <code>IProductProvider</code> are supplied.
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>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy