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 theIDifferenceGroupExtender.Registry.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description DifferenceGroupExtenderRegistryImpl()Constructs the registry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDifferenceGroupExtenderadd(IDifferenceGroupExtender provider)Add to the registry the givenIDifferenceGroupExtender.voidclear()Clear the registry.List<IDifferenceGroupExtender>getExtenders()Returns the list ofIDifferenceGroupExtendercontained in the registry.IDifferenceGroupExtenderremove(String className)Remove from the registry theIDifferenceGroupExtenderdesignated by the givenString.
-
-
-
Method Detail
-
getExtenders
public List<IDifferenceGroupExtender> getExtenders()
Returns the list ofIDifferenceGroupExtendercontained in the registry.- Specified by:
getExtendersin interfaceIDifferenceGroupExtender.Registry- Returns:
- The list of
IDifferenceGroupExtendercontained in the registry. - See Also:
IDifferenceGroupExtender.Registry.getExtenders()
-
add
public IDifferenceGroupExtender add(IDifferenceGroupExtender provider)
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:
(org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.extender.IDifferenceGroupExtender)
-
remove
public IDifferenceGroupExtender remove(String className)
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:
.Registry#clear()
-
-