public class Extension extends Object
Constructor and Description |
---|
Extension(ExtensionPoint point,
Bundle plugin) |
Extension(String pointId,
Bundle plugin) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationElement(ConfigurationElement element)
Add a new child ConfigurationElement (declared nested in the extension XML element)
|
ConfigurationElement[] |
getConfigurationElements()
Acessor for all ConfigurationElements declared in the Extension
|
String |
getExtensionPointId()
Acessor to the extension point id
|
Bundle |
getPlugin()
Accessor for the Plug-in that declared this Extension
|
ExtensionPoint |
getPoint()
Acessor for the ExtensionPoint that this Extension implements
|
void |
setExtensionPoint(ExtensionPoint point)
Assign the ExtensionPoint to this Extension
|
public Extension(ExtensionPoint point, Bundle plugin)
public void setExtensionPoint(ExtensionPoint point)
point
- The extension pointpublic String getExtensionPointId()
public Bundle getPlugin()
public ExtensionPoint getPoint()
public void addConfigurationElement(ConfigurationElement element)
element
- the ConfigurationElementpublic ConfigurationElement[] getConfigurationElements()
Copyright © 2019. All rights reserved.