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 name
public String superComponent
public String documentation
public transient Class[] contributions
public transient XMap xmap
public transient RegistrationInfo ri
public Class[] getContributions()
ExtensionPoint
getContributions
in interface ExtensionPoint
public String getName()
ExtensionPoint
getName
in interface ExtensionPoint
public String getDocumentation()
ExtensionPoint
getDocumentation
in interface ExtensionPoint
public String getSuperComponent()
ExtensionPoint
If 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 ExtensionPoint
public Object[] loadContributions(RegistrationInfo owner, Extension extension)
Copyright © 2015 Nuxeo SA. All rights reserved.