Class DifferenceGroupExtenderRegistryImpl
java.lang.Object
org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.extender.DifferenceGroupExtenderRegistryImpl
- All Implemented Interfaces:
IDifferenceGroupExtender.Registry
public class DifferenceGroupExtenderRegistryImpl
extends Object
implements IDifferenceGroupExtender.Registry
The default implementation of the
IDifferenceGroupExtender.Registry
.- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(IDifferenceGroupExtender provider) Add to the registry the givenIDifferenceGroupExtender
.void
clear()
Clear the registry.Returns the list ofIDifferenceGroupExtender
contained in the registry.Remove from the registry theIDifferenceGroupExtender
designated by the givenString
.
-
Constructor Details
-
DifferenceGroupExtenderRegistryImpl
public DifferenceGroupExtenderRegistryImpl()Constructs the registry.
-
-
Method Details
-
getExtenders
Returns the list ofIDifferenceGroupExtender
contained in the registry.- Specified by:
getExtenders
in interfaceIDifferenceGroupExtender.Registry
- Returns:
- The list of
IDifferenceGroupExtender
contained in the registry. - See Also:
-
add
Add to the registry the givenIDifferenceGroupExtender
.- Specified by:
add
in interfaceIDifferenceGroupExtender.Registry
- Parameters:
provider
- The givenIDifferenceGroupExtender
.- Returns:
- The previous value associated with the class name of the given
IDifferenceGroupExtender
, or null if there was no entry in the registry for the class name. - See Also:
-
remove
Remove from the registry theIDifferenceGroupExtender
designated by the givenString
.- Specified by:
remove
in interfaceIDifferenceGroupExtender.Registry
- Parameters:
className
- The givenString
representing aIDifferenceGroupExtender
.- Returns:
- The
IDifferenceGroupExtender
designated by the givenString
. - See Also:
-
clear
public void clear()Clear the registry.- Specified by:
clear
in interfaceIDifferenceGroupExtender.Registry
- See Also:
-