public static interface IDifferenceGroupProvider.Descriptor.Registry
IDifferenceGroupProvider
.Modifier and Type | Method and Description |
---|---|
IDifferenceGroupProvider.Descriptor |
add(IDifferenceGroupProvider.Descriptor provider,
String className)
Add to the registry the given
IDifferenceGroupProvider . |
void |
clear()
Clear the registry.
|
IDifferenceGroupProvider.Descriptor |
getDefaultGroupProvider(IComparisonScope scope,
Comparison comparison)
Returns the default group provider.
|
Collection<IDifferenceGroupProvider.Descriptor> |
getGroupProviders(IComparisonScope scope,
Comparison comparison)
Returns the list of
IDifferenceGroupProvider contained in the registry. |
IDifferenceGroupProvider.Descriptor |
remove(String className)
Remove from the registry the
IDifferenceGroupProvider designated by the given
String . |
Collection<IDifferenceGroupProvider.Descriptor> getGroupProviders(IComparisonScope scope, Comparison comparison)
IDifferenceGroupProvider
contained in the registry.scope
- The scope on which the group providers will be applied.comparison
- The comparison which is to be displayed in the structural view.IDifferenceGroupProvider
contained in the registry.IDifferenceGroupProvider.Descriptor getDefaultGroupProvider(IComparisonScope scope, Comparison comparison)
scope
- The scope on which the group providers will be applied.comparison
- The comparison which is to be displayed in the structural view.IDifferenceGroupProvider.Descriptor add(IDifferenceGroupProvider.Descriptor provider, String className)
IDifferenceGroupProvider
.provider
- The given IDifferenceGroupProvider
.className
- The class name of the given provider.IDifferenceGroupProvider
, or null if there was no entry in the registry for the
class name.IDifferenceGroupProvider.Descriptor remove(String className)
IDifferenceGroupProvider
designated by the given
String
.className
- The given String
representing a IDifferenceGroupProvider
.IDifferenceGroupProvider
designated by the given String
.void clear()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.