public class RankedAdapterFactoryDescriptorRegistryImpl extends Object implements RankedAdapterFactoryDescriptor.Registry
Descriptor.Registry.ComposedAdapterFactory.Descriptor.Registry.ImplINSTANCE| Constructor and Description |
|---|
RankedAdapterFactoryDescriptorRegistryImpl(ComposedAdapterFactory.Descriptor.Registry delegateRegistry,
com.google.common.collect.Multimap<Collection<?>,RankedAdapterFactoryDescriptor> adapterFactoryRegistryBackingMultimap)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected ComposedAdapterFactory.Descriptor |
delegatedGetDescriptor(Collection<?> types)
This is called when local lookup fails.
|
ComposedAdapterFactory.Descriptor |
getDescriptor(Collection<?> types)
Returns the appropriate Descriptor for the given types.
|
Set<RankedAdapterFactoryDescriptor> |
getDescriptors()
Returns all
RankedAdapterFactoryDescriptor of the registry. |
public RankedAdapterFactoryDescriptorRegistryImpl(ComposedAdapterFactory.Descriptor.Registry delegateRegistry, com.google.common.collect.Multimap<Collection<?>,RankedAdapterFactoryDescriptor> adapterFactoryRegistryBackingMultimap)
delegateRegistry - null or a registration that should act as the delegate.adapterFactoryRegistryBackingMultimap - Multimap backing all RankedAdapterFactoryDescriptor registered into EMF Compare.public ComposedAdapterFactory.Descriptor getDescriptor(Collection<?> types)
getDescriptor in interface ComposedAdapterFactory.Descriptor.Registrytypes - the given types.protected ComposedAdapterFactory.Descriptor delegatedGetDescriptor(Collection<?> types)
types - the given types.public Set<RankedAdapterFactoryDescriptor> getDescriptors()
RankedAdapterFactoryDescriptor of the registry.getDescriptors in interface RankedAdapterFactoryDescriptor.RegistrySet of RankedAdapterFactoryDescriptorgetDescriptors()}
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.