| <?xml version='1.0' encoding='UTF-8'?>
|
| <!-- Schema file written by PDE -->
|
| <schema targetNamespace="org.eclipse.update.core">
|
| <annotation>
|
| <appInfo>
|
| <meta.schema plugin="org.eclipse.update.core" id="installHandlers" name="Global Install Handlers"/>
|
| </appInfo>
|
| <documentation>
|
| Extension point for registering global install handlers. Global |
| install handlers can be referenced by features |
| (using the <code>&lt;feature&gt; &lt;install-handler&gt;</code> |
| tags) without having to include a copy of the handler code as |
| part of the downloadable feature.
|
| </documentation>
|
| </annotation>
|
|
|
| <element name="extension">
|
| <complexType>
|
| <sequence>
|
| <element ref="install-handler" minOccurs="1" maxOccurs="unbounded"/>
|
| </sequence>
|
| <attribute name="point" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| must be specified as <b>org.eclipse.update.core.installHandlers</b>
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="id" type="string">
|
| <annotation>
|
| <documentation>
|
| must be specified. Identifies the new install handler
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="name" type="string">
|
| <annotation>
|
| <documentation>
|
| optional displayable label for the new install handler
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="install-handler">
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| fully qualified name of the handler implementation class for the identified |
| install handler
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="examples"/>
|
| </appInfo>
|
| <documentation>
|
| The following is an example of new global install handler registration. |
| <br><br> |
| <code> |
| &lt;extension<br> |
| &nbsp;&nbsp;&nbsp;id="custom"<br> |
| &nbsp;&nbsp;&nbsp;point="org.eclipse.update.core.installHandlers"<br> |
| &nbsp;&nbsp;&nbsp;name="Custom install handler"&gt;<br> |
| <br> |
| &nbsp;&nbsp;&nbsp;&lt;install-handler<br> |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class="com.xyz.update.CustomInstallHandler"&gt;<br> |
| &nbsp;&nbsp;&nbsp;&lt;/install-handler&gt;<br> |
| &lt;/extension&gt;<br> |
| </code>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="apiInfo"/>
|
| </appInfo>
|
| <documentation>
|
| Registered install handler classes must implement |
| <code><b>org.eclipse.update.core.IInstallHandler</b></code> interface. |
| Implementers should extend base class <code><b>org.eclipse.update.core.BaseInstallHandler</b></code>.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="implementation"/>
|
| </appInfo>
|
| <documentation>
|
| The platform supplies a simple install handler that is registered as <code><b>org.eclipse.update.core.DefaultInstallHandler</b></code>. If used, it will copy any non-plug-in data entries provided with the feature into the feature installation directory.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="copyright"/>
|
| </appInfo>
|
| <documentation>
|
| <br> |
| <br><a href="hglegal.htm"><img SRC="ngibmcpy.gif" |
| ALT="Copyright IBM Corp. and others 2000, 2002. All Rights Reserved." |
| BORDER=0></a>
|
| </documentation>
|
| </annotation>
|
|
|
| </schema>
|