Package com.bc.ceres.core.runtime
Interface Extension
-
public interface ExtensionAn extension declared in a module.If
declaredin a module manifest (module.xml), an extension has the following syntax:<extension point="point">configuration element 1configuration element 2... </extension>An extension can also have an optional identifier which makes it possible to retrieve it via the
Module.getExtension(String)method:<extension id="This interface is not intended to be implemented by clients.id" point="point"> ... </extension>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationElementgetConfigurationElement()Gets the configuration element of this extension.ModulegetDeclaringModule()Gets the module in which this extension is declared.ExtensionPointgetExtensionPoint()Gets the extension point which is extended by this extension.StringgetId()Gets the (optional) identifier.StringgetPoint()Gets the name of the extension point which is extended by this extension.
-
-
-
Method Detail
-
getPoint
String getPoint()
Gets the name of the extension point which is extended by this extension.- Returns:
- The name of the extension point.
-
getId
String getId()
Gets the (optional) identifier.- Returns:
- The identifier, can be
null.
-
getConfigurationElement
ConfigurationElement getConfigurationElement()
Gets the configuration element of this extension.- Returns:
- The configuration element.
-
getDeclaringModule
Module getDeclaringModule()
Gets the module in which this extension is declared.- Returns:
- The declaring module.
-
getExtensionPoint
ExtensionPoint getExtensionPoint()
Gets the extension point which is extended by this extension.- Returns:
- The extension point or
nullif the declaring module is yet neither registered nor resolved.
-
-