|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.update.core.model.FeatureModelFactory
org.eclipse.update.core.BaseFeatureFactory
public abstract class BaseFeatureFactory
Base implementation of a feature factory. The factory is responsible for constructing the correct concrete implementation of the model objects for each particular feature type. This class creates model objects that correspond to the concrete implementation classes provided in this package. The actual feature creation method is subclass responsibility.
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 Summary | |
|---|---|
BaseFeatureFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
IFeature |
createFeature(URL url,
ISite site)
Deprecated. implement createFeature(URL, ISite, IProgressMonitor) instead |
abstract IFeature |
createFeature(URL url,
ISite site,
IProgressMonitor monitor)
Deprecated. Create feature. |
FeatureModel |
createFeatureModel()
Deprecated. Create a concrete implementation of feature model. |
ImportModel |
createImportModel()
Deprecated. Create a concrete implementation of import dependency model. |
IncludedFeatureReferenceModel |
createIncludedFeatureReferenceModel()
Deprecated. Create a concrete implementation of included feature reference model. |
InstallHandlerEntryModel |
createInstallHandlerEntryModel()
Deprecated. Create a concrete implementation of install handler model. |
NonPluginEntryModel |
createNonPluginEntryModel()
Deprecated. Create a concrete implementation of non-plug-in entry model. |
PluginEntryModel |
createPluginEntryModel()
Deprecated. Create a concrete implementation of plug-in entry model. |
URLEntryModel |
createURLEntryModel()
Deprecated. Create a concrete implementation of annotated URL model. |
| Methods inherited from class org.eclipse.update.core.model.FeatureModelFactory |
|---|
parseFeature, parseFeature |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseFeatureFactory()
| Method Detail |
|---|
public 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 feature
CoreExceptionIFeatureFactory.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 feature
CoreExceptionIFeatureFactory.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 FeatureModelFactoryURLEntry
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.