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