public final class ContributionImpl extends java.lang.Object implements Contribution
Contribution
interface, a wrapper
around objects that can provide values that plug into an extension point.Constructor and Description |
---|
ContributionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addElements(java.util.List elements) |
Module |
getContributingModule()
Returns the module which made this contribution.
|
java.util.List |
getElements()
Returns a List of
Element , the representation of the XML
elements in the extension. |
void |
setContributingModule(Module module) |
public ContributionImpl()
public Module getContributingModule()
Contribution
getContributingModule
in interface Contribution
public void setContributingModule(Module module)
public void addElements(java.util.List elements)
public java.util.List getElements()
Contribution
Element
, the representation of the XML
elements in the extension. The ConfigurationPoint will use its
Schema
(if present) to convert this XML representation
into the object representation returned by ConfigurationPoint.getElements()
.getElements
in interface Contribution