|
Eclipse Platform 2.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()
Returns the descriptor of the plug-in that declares this extension. |
String |
getExtensionPointUniqueIdentifier()
Returns the unique identifier of the extension point that this extension gets plugged into. |
String |
getLabel()
Returns a displayable label 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()
public String getExtensionPointUniqueIdentifier()
public String getLabel()
Note that any translation specified in the plug-in manifest file is automatically applied.
IPluginDescriptor.getResourceString(java.lang.String)
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 identifier of the plug-in that declared
this extension and this extension's simple identifier.
"com.example.acme.main"
), or null
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |