public abstract class BaseFeatureFactory extends FeatureModelFactory implements IFeatureFactory
This class must be subclassed by clients.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
IFeatureFactory,
FeatureModelFactory| Constructor and Description |
|---|
BaseFeatureFactory() |
| Modifier and Type | Method and Description |
|---|---|
IFeature |
createFeature(URL url,
ISite site)
Deprecated.
implement createFeature(URL, ISite, IProgressMonitor) instead
|
abstract IFeature |
createFeature(URL url,
ISite site,
IProgressMonitor monitor)
Create feature.
|
FeatureModel |
createFeatureModel()
Create a concrete implementation of feature model.
|
ImportModel |
createImportModel()
Create a concrete implementation of import dependency model.
|
IncludedFeatureReferenceModel |
createIncludedFeatureReferenceModel()
Create a concrete implementation of included feature reference model.
|
InstallHandlerEntryModel |
createInstallHandlerEntryModel()
Create a concrete implementation of install handler model.
|
NonPluginEntryModel |
createNonPluginEntryModel()
Create a concrete implementation of non-plug-in entry model.
|
PluginEntryModel |
createPluginEntryModel()
Create a concrete implementation of plug-in entry model.
|
URLEntryModel |
createURLEntryModel()
Create a concrete implementation of annotated URL model.
|
parseFeature, parseFeaturepublic IFeature createFeature(URL url, ISite site) throws CoreException
IFeatureFactoryThe actual interpretation of the URL is feature-type specific. In most cases the URL will point to some feature-specific file that can be used (directly or indirectly) to construct the feature object.
createFeature in interface IFeatureFactoryurl - URL interpreted by the featuresite - site to be associated with the featureCoreExceptionIFeatureFactory.createFeature(URL,ISite)public abstract IFeature createFeature(URL url, ISite site, IProgressMonitor monitor) throws CoreException
createFeature in interface IFeatureFactoryurl - URL interpreted by the featuresite - site to be associated with the featureCoreExceptionIFeatureFactory.createFeature(URL,ISite,IProgressMonitor)public FeatureModel createFeatureModel()
createFeatureModel in class FeatureModelFactoryFeaturepublic IncludedFeatureReferenceModel createIncludedFeatureReferenceModel()
createIncludedFeatureReferenceModel in class FeatureModelFactoryIncludedFeatureReferencepublic InstallHandlerEntryModel createInstallHandlerEntryModel()
createInstallHandlerEntryModel in class FeatureModelFactoryInstallHandlerEntrypublic ImportModel createImportModel()
createImportModel in class FeatureModelFactoryImportpublic PluginEntryModel createPluginEntryModel()
createPluginEntryModel in class FeatureModelFactoryPluginEntrypublic NonPluginEntryModel createNonPluginEntryModel()
createNonPluginEntryModel in class FeatureModelFactoryNonPluginEntrypublic URLEntryModel createURLEntryModel()
createURLEntryModel in class FeatureModelFactoryURLEntryGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.