Feature Type Factory
Identifier:
org.eclipse.update.core.featureTypes
Description:
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.
The featureTypes
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.
Configuration Markup:
<!ELEMENT extension (
feature-factory+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
-
point - must be specified as org.eclipse.update.core.featureTypes
-
id - must be specified. Identifies the new feature type
-
name - optional displayable label for the new feature type
<!ELEMENT feature-factory EMPTY>
<!ATTLIST feature-factory
class CDATA #REQUIRED
>
-
class - fully qualified name of the factory class for the identified feature type
Examples:
The following is an example of new feature type registration:
<extension
id=
"custom"
point=
"org.eclipse.update.core.featureTypes"
name=
"Custom packaged feature"
>
<feature-factory
class=
"com.xyz.update.CustomFeatureFactory"
>
</feature-factory>
</extension>
Supplied Implementation:
The platform supplies two standard implementations of feature
types. One representing the default packaged feature type, and
the other representing an installed feature type.
Copyright (c) 2004 IBM Corporation and others.
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
https://www.eclipse.org/legal/epl-v10.html.