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 IDifferenceGroupExtender
add(IDifferenceGroupExtender provider)
Add to the registry the givenIDifferenceGroupExtender
.void
clear()
Clear the registry.List<IDifferenceGroupExtender>
getExtenders()
Returns the list ofIDifferenceGroupExtender
contained in the registry.IDifferenceGroupExtender
remove(String className)
Remove from the registry theIDifferenceGroupExtender
designated by the givenString
.
-
-
-
Method Detail
-
getExtenders
public List<IDifferenceGroupExtender> 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:
IDifferenceGroupExtender.Registry.getExtenders()
-
add
public IDifferenceGroupExtender add(IDifferenceGroupExtender provider)
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:
(org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.extender.IDifferenceGroupExtender)
-
remove
public IDifferenceGroupExtender remove(String className)
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:
.Registry#clear()
-
-