public class LinkRegistry extends AbstractContributionRegistry<String,LinkDescriptor>
Modifier and Type | Field and Description |
---|---|
protected Map<String,LinkDescriptor[]> |
links |
listeners, parent, registry
Constructor and Description |
---|
LinkRegistry() |
addFragment, dispose, fireResolved, fireUnresolved, fireUpdated, getContribution, getObject, getOrCreateDependency, getParent, importContribution, importParentContributions, removeContribution, removeFragment
protected final Map<String,LinkDescriptor[]> links
public LinkRegistry()
public List<LinkDescriptor> getLinks(String category)
public List<LinkDescriptor> getActiveLinks(Resource context, String category)
public void registerLink(LinkDescriptor td)
public void unregisterLink(LinkDescriptor td)
protected LinkDescriptor clone(LinkDescriptor object)
clone
in class AbstractContributionRegistry<String,LinkDescriptor>
protected void applyFragment(LinkDescriptor object, LinkDescriptor fragment)
AbstractContributionRegistry
applyFragment
in class AbstractContributionRegistry<String,LinkDescriptor>
protected void applySuperFragment(LinkDescriptor object, LinkDescriptor superFragment)
applySuperFragment
in class AbstractContributionRegistry<String,LinkDescriptor>
protected void installContribution(String key, LinkDescriptor object)
installContribution
in class AbstractContributionRegistry<String,LinkDescriptor>
protected void updateContribution(String key, LinkDescriptor object, LinkDescriptor oldValue)
updateContribution
in class AbstractContributionRegistry<String,LinkDescriptor>
protected void uninstallContribution(String key, LinkDescriptor object)
uninstallContribution
in class AbstractContributionRegistry<String,LinkDescriptor>
protected boolean isMainFragment(LinkDescriptor object)
isMainFragment
in class AbstractContributionRegistry<String,LinkDescriptor>
protected void installLink(String category, LinkDescriptor link)
protected void removeLink(LinkDescriptor link)
protected void removeLink(String category, LinkDescriptor link)
Copyright © 2017 Nuxeo. All rights reserved.