public class ExtensionPointImpl extends Object implements ExtensionPoint, Serializable
| Modifier and Type | Field and Description |
|---|---|
Class[] |
contributions |
String |
documentation |
String |
name |
RegistrationInfo |
ri |
String |
superComponent |
XMap |
xmap |
| Constructor and Description |
|---|
ExtensionPointImpl() |
| Modifier and Type | Method and Description |
|---|---|
Extension |
createExtension(Element element) |
Class[] |
getContributions()
Gets the object types of the contributions accepted by this extension point.
|
String |
getDocumentation()
Gets the comment attached to this extension point if any.
|
String |
getName()
Gets the extension point name.
|
String |
getSuperComponent()
Get the component owning the base extension which this one extends.
|
Object[] |
loadContributions(RegistrationInfo owner,
Extension extension) |
public String superComponent
public String documentation
public transient Class[] contributions
public transient RegistrationInfo ri
public ExtensionPointImpl()
public Class[] getContributions()
ExtensionPointgetContributions in interface ExtensionPointpublic String getName()
ExtensionPointgetName in interface ExtensionPointpublic String getDocumentation()
ExtensionPointgetDocumentation in interface ExtensionPointpublic String getSuperComponent()
ExtensionPointIf this method returns null, it means the current extension point is extending another extension point and should forward any contribution to the base extension. The base extension has the same name as this one but it is declared in another component.
getSuperComponent in interface ExtensionPointpublic Extension createExtension(Element element)
public Object[] loadContributions(RegistrationInfo owner, Extension extension)
Copyright © 2015 Nuxeo SA. All rights reserved.