public class MergeResolutionListenerRegistry extends Object
| Constructor and Description |
|---|
MergeResolutionListenerRegistry()
Constructs and initialized this registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProvider(String className,
MergeResolutionListenerDescriptor descriptor)
Adds the given
MergeResolutionListenerDescriptor to this registry, using the given
className as the identifier. |
void |
clear()
Clears out all registered listeners from this registry.
|
void |
mergeResolutionCompleted(Comparison comparison)
Notifies all registered extension point clients of the completed merge resolution.
|
MergeResolutionListenerDescriptor |
removeProvider(String className)
Removes the
MergeResolutionListenerDescriptor and its managed IDependencyProvider
identified by the given className from this registry. |
public MergeResolutionListenerRegistry()
public void addProvider(String className, MergeResolutionListenerDescriptor descriptor)
MergeResolutionListenerDescriptor to this registry, using the given
className as the identifier.className - The identifier for the given MergeResolutionListenerDescriptor.descriptor - The MergeResolutionListenerDescriptor which is to be added to this registry.public MergeResolutionListenerDescriptor removeProvider(String className)
MergeResolutionListenerDescriptor and its managed IDependencyProvider
identified by the given className from this registry.className - Identifier of the provider we are to remove from this registry.MergeResolutionListenerDescriptor, if any.public void clear()
public void mergeResolutionCompleted(Comparison comparison)
comparison - the comparison now resolved
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.