|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An extension declared in a plug-in.
All information is obtained from the declaring plug-in's
manifest (plugin.xml
) file.
This interface is not intended to be implemented by clients.
Method Summary | |
IConfigurationElement[] |
getConfigurationElements()
Returns all configuration elements declared by this extension. |
IPluginDescriptor |
getDeclaringPluginDescriptor()
Deprecated. IPluginDescriptor is not part of the new runtime and its function has been split over several parts of the new runtime. This method is not available (returns null) if the compatibility layer is not installed. Use getNamespace() to get the symbolic id of the declaring plugin. See IPluginDescriptor to see how to
update your usecases. |
String |
getExtensionPointUniqueIdentifier()
Returns the unique identifier of the extension point to which this extension should be contributed. |
String |
getLabel()
Returns a displayable label for this extension. |
String |
getNamespace()
Returns the namespace for this extension. |
String |
getSimpleIdentifier()
Returns the simple identifier of this extension, or null
if this extension does not have an identifier.
|
String |
getUniqueIdentifier()
Returns the unique identifier of this extension, or null
if this extension does not have an identifier.
|
Method Detail |
public IConfigurationElement[] getConfigurationElements()
plugin.xml
)
file for the plug-in that declares this extension.
Returns an empty array if this extension does not declare any
configuration elements.
public IPluginDescriptor getDeclaringPluginDescriptor()
IPluginDescriptor
to see how to
update your usecases.
public String getNamespace()
Note: This is an early access API to the new OSGI-based Eclipse 3.0 Platform Runtime. Because the APIs for the new runtime have not yet been fully stabilized, they should only be used by clients needing to take particular advantage of new OSGI-specific functionality, and only then with the understanding that these APIs may well change in incompatible ways until they reach their finished, stable form (post-3.0).
Platform.getBundle(String)
,
IExtensionRegistry
public String getExtensionPointUniqueIdentifier()
public String getLabel()
Note that any translation specified in the plug-in manifest file is automatically applied.
public String getSimpleIdentifier()
null
if this extension does not have an identifier.
This identifier is specified in the plug-in manifest (plugin.xml
)
file as a non-empty string containing no period characters
('.'
) and must be unique within the defining plug-in.
"main"
)
or null
public String getUniqueIdentifier()
null
if this extension does not have an identifier.
If available, this identifier is unique within the plug-in registry, and
is composed of the namespace where this extension
was declared and this extension's simple identifier.
"com.example.acme.main"
), or null
|
Eclipse Platform Release 3.0 |
||||||||||
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, 2004. All rights reserved.