public class PostProcessorRegistryImpl extends Object implements IPostProcessor.Descriptor.Registry<String>
IItemRegistry.IItemRegistry| Constructor and Description |
|---|
PostProcessorRegistryImpl(IItemRegistry<IPostProcessor.Descriptor> baseRegisty)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all extensions from this registry.
|
List<IPostProcessor.Descriptor> |
getDescriptors()
This will return a copy of the registered post processors list.
|
List<IPostProcessor> |
getPostProcessors(IComparisonScope scope)
Retrieve the post processors from a given
scope. |
IPostProcessor.Descriptor |
put(String key,
IPostProcessor.Descriptor descriptor)
Adds a post processor to the registry.
|
IPostProcessor.Descriptor |
remove(String key)
Removes a post processor from this registry.
|
public PostProcessorRegistryImpl(IItemRegistry<IPostProcessor.Descriptor> baseRegisty)
baseRegisty - IItemDescriptor filled with IItemDescriptor of
IPostProcessor.Descriptor.public IPostProcessor.Descriptor put(String key, IPostProcessor.Descriptor descriptor)
put in interface IPostProcessor.Descriptor.Registry<String>key - key with which the specified descriptor is to be associateddescriptor - Post Processor that is to be added to this registry.public void clear()
clear in interface IPostProcessor.Descriptor.Registry<String>public List<IPostProcessor.Descriptor> getDescriptors()
getDescriptors in interface IPostProcessor.Descriptor.Registry<String>public IPostProcessor.Descriptor remove(String key)
remove in interface IPostProcessor.Descriptor.Registry<String>key - key of the post processor descriptor that is to be removed from the registry.public List<IPostProcessor> getPostProcessors(IComparisonScope scope)
scope. The scope provides the set of
scanned namespaces and resource uris. If they match with the regex of some post processors,
then they are returned.getPostProcessors in interface IPostProcessor.Descriptor.Registry<String>scope - The given scope.IPostProcessor.Descriptor.Registry.getPostProcessors(org.eclipse.emf.compare.scope.IComparisonScope)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.