|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The plug-in registry holds the master list of all discovered plug-ins, extension points, and extensions.
The plug-in registry can be queried, by name, for plug-ins, extension points, and extensions.
This interface is not intended to be implemented by clients.
Method Summary | |
IConfigurationElement[] |
getConfigurationElementsFor(String extensionPointId)
Returns all configuration elements from all extensions configured into the identified extension point. |
IConfigurationElement[] |
getConfigurationElementsFor(String pluginId,
String extensionPointName)
Returns all configuration elements from all extensions configured into the identified extension point. |
IConfigurationElement[] |
getConfigurationElementsFor(String pluginId,
String extensionPointName,
String extensionId)
Returns all configuration elements from the identified extension. |
IExtension |
getExtension(String extensionPointId,
String extensionId)
Returns the specified extension in this plug-in registry, or null if there is no such extension. |
IExtension |
getExtension(String pluginId,
String extensionPointName,
String extensionId)
Returns the specified extension in this plug-in registry, or null if there is no such extension. |
IExtensionPoint |
getExtensionPoint(String extensionPointId)
Returns the extension point with the given extension point identifier in this plug-in registry, or null if there is no such
extension point. |
IExtensionPoint |
getExtensionPoint(String pluginId,
String extensionPointName)
Returns the extension point in this plug-in registry with the given plug-in identifier and extension point simple identifier, or null if there is no such extension point. |
IExtensionPoint[] |
getExtensionPoints()
Returns all extension points known to this plug-in registry. |
IPluginDescriptor |
getPluginDescriptor(String pluginId)
Returns the plug-in descriptor with the given plug-in identifier in this plug-in registry, or null if there is no such
plug-in. |
IPluginDescriptor |
getPluginDescriptor(String pluginId,
PluginVersionIdentifier version)
Returns the plug-in descriptor with the given plug-in identifier and version in this plug-in registry, or null if
there is no such plug-in. |
IPluginDescriptor[] |
getPluginDescriptors()
Returns all plug-in descriptors known to this plug-in registry. |
IPluginDescriptor[] |
getPluginDescriptors(String pluginId)
Returns all versions of the identified plug-in descriptor known to this plug-in registry. |
Method Detail |
public IConfigurationElement[] getConfigurationElementsFor(String extensionPointId)
extensionPointId
- the unique identifier of the extension point
(e.g. "org.eclipse.core.resources.builders"
)
public IConfigurationElement[] getConfigurationElementsFor(String pluginId, String extensionPointName)
pluginId
- the unique identifier of the plug-in
(e.g. "org.eclipse.core.resources"
)extensionPointName
- the simple identifier of the
extension point (e.g. "builders"
)
public IConfigurationElement[] getConfigurationElementsFor(String pluginId, String extensionPointName, String extensionId)
pluginId
- the unique identifier of the plug-in
(e.g. "org.eclipse.core.resources"
)extensionPointName
- the simple identifier of the
extension point (e.g. "builders"
)extensionId
- the unique identifier of the extension
(e.g. "com.example.acme.coolbuilder
)
public IExtension getExtension(String extensionPointId, String extensionId)
null
if there is no such extension.
The first parameter identifies the extension point, and the second
parameter identifies an extension plugged in to that extension point.
extensionPointId
- the unique identifier of the extension point
(e.g. "org.eclipse.core.resources.builders"
)extensionId
- the unique identifier of the extension
(e.g. "com.example.acme.coolbuilder"
)
null
public IExtension getExtension(String pluginId, String extensionPointName, String extensionId)
null
if there is no such extension.
The first two parameters identify the extension point, and the third
parameter identifies an extension plugged in to that extension point.
pluginId
- the unique identifier of the plug-in
(e.g. "org.eclipse.core.resources"
)extensionPointName
- the simple identifier of the
extension point (e.g. "builders"
)extensionId
- the unique identifier of the extension
(e.g. "com.example.acme.coolbuilder"
)
null
public IExtensionPoint getExtensionPoint(String extensionPointId)
null
if there is no such
extension point.
extensionPointId
- the unique identifier of the extension point
(e.g., "org.eclipse.core.resources.builders"
)
null
public IExtensionPoint getExtensionPoint(String pluginId, String extensionPointName)
null
if there is no such extension point.
pluginId
- the unique identifier of the plug-in
(e.g. "org.eclipse.core.resources"
)extensionPointName
- the simple identifier of the
extension point (e.g. " builders"
)
null
public IExtensionPoint[] getExtensionPoints()
public IPluginDescriptor getPluginDescriptor(String pluginId)
null
if there is no such
plug-in. If there are multiple versions of the identified plug-in,
one will be non-deterministically choosen and returned.
pluginId
- the unique identifier of the plug-in
(e.g. "com.example.acme"
).
null
public IPluginDescriptor getPluginDescriptor(String pluginId, PluginVersionIdentifier version)
null
if
there is no such plug-in.
pluginId
- the unique identifier of the plug-in
(e.g. "org.eclipse.core.resources"
).version
- plug-in version identifier
null
public IPluginDescriptor[] getPluginDescriptors()
public IPluginDescriptor[] getPluginDescriptors(String pluginId)
pluginId
- the unique identifier of the plug-in
(e.g. "org.eclipse.core.resources"
).
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |