public class WidgetConverterRegistry extends SimpleContributionRegistry<WidgetConverterDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
Modifier and Type | Field and Description |
---|---|
protected String |
category |
currentContribs
contribs
Constructor and Description |
---|
WidgetConverterRegistry(String category) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
String |
getContributionId(WidgetConverterDescriptor contrib)
Returns the contribution ID given the contribution object
|
WidgetConverterDescriptor |
getConverter(String id) |
List<WidgetConverterDescriptor> |
getConverters() |
List<String> |
getLayoutNames() |
clone, contributionRemoved, contributionUpdated, getCurrentContribution, isSupportingMerge, merge
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment
public WidgetConverterRegistry(String category)
public String getCategory()
public List<String> getLayoutNames()
public String getContributionId(WidgetConverterDescriptor contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<WidgetConverterDescriptor>
public List<WidgetConverterDescriptor> getConverters()
public WidgetConverterDescriptor getConverter(String id)
Copyright © 2017 Nuxeo. All rights reserved.