public class ContentMergeViewerCustomizationRegistry extends Object
| Constructor and Description |
|---|
ContentMergeViewerCustomizationRegistry()
Constructs and initialized this registry.
|
public ContentMergeViewerCustomizationRegistry()
public void addCustomization(String className, ContentMergeViewerCustomizationDescriptor<IMergeViewerItemProvider> descriptor)
ContentMergeViewerCustomizationDescriptor to this registry, using the given
className as the identifier.className - The identifier for the given ContentMergeViewerCustomizationDescriptor.descriptor - The ContentMergeViewerCustomizationDescriptor which is to be added to this registry.public void addTreeCustomization(String className, ContentMergeViewerCustomizationDescriptor<IMergeViewerItemContentProvider> descriptor)
ContentMergeViewerCustomizationDescriptor to this registry, using the given
className as the identifier.className - The identifier for the given ContentMergeViewerCustomizationDescriptor.descriptor - The ContentMergeViewerCustomizationDescriptor which is to be added to this registry.public void removeDescriptor(String className)
ContentMergeViewerCustomizationDescriptor and its managed
IDependencyProvider identified by the given className from this registry.className - Identifier of the provider we are to remove from this registry.public void clear()
public IMergeViewerItemProvider getBestFittingMergeViewerItemProvider(Comparison comparison, Object object)
IMergeViewerItemProvider.comparison - the Comparison is used to check the context.object - the Object for which the IMergeViewerItemProvider is responsible.IMergeViewerItemProvider if one exists, null otherwise.public IMergeViewerItemContentProvider getBestFittingMergeViewerItemContentProvider(Comparison comparison, Object object)
IMergeViewerItemContentProvider.comparison - the Comparison is used to check the context.object - the Object for which the IMergeViewerItemContentProvider is responsible.IMergeViewerItemContentProvider if one exists, null otherwise.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.