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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(IDifferenceGroupExtender provider) Add to the registry the givenIDifferenceGroupExtender.voidclear()Clear the registry.Returns the list ofIDifferenceGroupExtendercontained in the registry.Remove from the registry theIDifferenceGroupExtenderdesignated by the givenString.
-
Constructor Details
-
DifferenceGroupExtenderRegistryImpl
public DifferenceGroupExtenderRegistryImpl()Constructs the registry.
-
-
Method Details
-
getExtenders
Returns the list ofIDifferenceGroupExtendercontained in the registry.- Specified by:
getExtendersin interfaceIDifferenceGroupExtender.Registry- Returns:
- The list of
IDifferenceGroupExtendercontained in the registry. - See Also:
-
add
Add to the registry the givenIDifferenceGroupExtender.- Specified by:
addin 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 theIDifferenceGroupExtenderdesignated by the givenString.- Specified by:
removein interfaceIDifferenceGroupExtender.Registry- Parameters:
className- The givenStringrepresenting aIDifferenceGroupExtender.- Returns:
- The
IDifferenceGroupExtenderdesignated by the givenString. - See Also:
-
clear
public void clear()Clear the registry.- Specified by:
clearin interfaceIDifferenceGroupExtender.Registry- See Also:
-