|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface allows extension providers to control how the instances provided to extension-points are being created
by referring to the factory instead of referring to a class. For example, the following extension to the preference page
extension-point uses a factory called PreferencePageFactory
.
Effectively, factories give full control over the create executable extension process.
The factories are responsible for handling the case where the concrete instance implement IExecutableExtension
.
Given that factories are instantiated as executable extensions, they must provide a 0-argument public constructor.
Like any other executable extension, they can configured by implementing IExecutableExtension
interface.
IConfigurationElement
Method Summary | |
---|---|
Object |
create()
Creates and returns a new instance. |
Method Detail |
public Object create() throws CoreException
CoreException
- if an instance of the executable extension
could not be created for any reason
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.