| <?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="featureTypes" name="Feature Type Factory"/>
|
| </appInfo>
|
| <documentation>
|
| <p>The platform update mechanism supports pluggable feature type |
| implementations. A new feature type can be registered in order |
| to support |
| alternate packaging and verification schemes. |
| </p> |
| <p> |
| The <code>featureTypes</code> |
| extension point allows alternate feature implementations to be |
| registered using a symbolic type identifier. Whenever the |
| type is referenced using this identifier, the supplied factory |
| is used to create the correct concrete feature implementation. |
| </p>
|
| </documentation>
|
| </annotation>
|
|
|
| <element name="extension">
|
| <complexType>
|
| <sequence>
|
| <element ref="feature-factory" minOccurs="1" maxOccurs="unbounded"/>
|
| </sequence>
|
| <attribute name="point" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| must be specified as <b>org.eclipse.update.core.featureTypes</b>
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="id" type="string">
|
| <annotation>
|
| <documentation>
|
| must be specified. Identifies the new feature type
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="name" type="string">
|
| <annotation>
|
| <documentation>
|
| optional displayable label for the new feature type
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="feature-factory">
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| fully qualified name of the factory class for the identified feature type
|
| </documentation>
|
| <appInfo>
|
| <meta.attribute kind="java" basedOn="org.eclipse.update.configuration.IInstallDeltaHandler"/>
|
| </appInfo>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="examples"/>
|
| </appInfo>
|
| <documentation>
|
| The following is an example of new feature type registration. |
| <br><br> |
| <code> |
| &lt;extension<br> |
| &nbsp;&nbsp;&nbsp;id="custom"<br> |
| &nbsp;&nbsp;&nbsp;point="org.eclipse.update.core.featureTypes"<br> |
| &nbsp;&nbsp;&nbsp;name="Custom packaged feature"&gt;<br> |
| <br> |
| &nbsp;&nbsp;&nbsp;&lt;feature-factory<br> |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class="com.xyz.update.CustomFeatureFactory"&gt;<br> |
| &nbsp;&nbsp;&nbsp;&lt;/feature-factory&gt;<br> |
| &lt;/extension&gt;<br> |
| </code>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="apiInfo"/>
|
| </appInfo>
|
| <documentation>
|
| Registered factory classes must implement |
| <code><b>org.eclipse.update.core.IFeatureFactory</b></code>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="implementation"/>
|
| </appInfo>
|
| <documentation>
|
| The platform supplies two standard implementations of feature |
| types. One representing the default packaged feature type, and |
| the other representing an installed feature type.
|
| </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>
|