|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Feature factory interface. A feature factory is used to construct new instances of concrete features.
Clients may implement this interface. However, in most cases clients should directly instantiate or subclass the provided implementation of this interface.
BaseFeatureFactory
Method Summary | |
IFeature |
createFeature(URL url,
ISite site)
Returns a feature defined by the supplied URL. |
Method Detail |
public IFeature createFeature(URL url, ISite site) throws CoreException
The 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.
url
- URL interpreted by the featuresite
- site to be associated with the feature
CoreException
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |