Class AccessorFactoryRegistryImpl
java.lang.Object
org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.AccessorFactoryRegistryImpl
- All Implemented Interfaces:
IAccessorFactory.Registry
The default implementation of
IAccessorFactory.Registry.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(IAccessorFactory factory) Add the given factory to the registry.voidclear()Clear the registry.getFactories(Object target) Returns all the factories available in the registry for the given object.getHighestRankingFactory(Object target) Returns the highest ranking factory available for the given object.Remove the factory represented by the given class name.
-
Constructor Details
-
AccessorFactoryRegistryImpl
public AccessorFactoryRegistryImpl()Default constructor.
-
-
Method Details
-
getHighestRankingFactory
Returns the highest ranking factory available for the given object.- Specified by:
getHighestRankingFactoryin interfaceIAccessorFactory.Registry- Parameters:
target- the given object.- Returns:
- the highest ranking factory available for the given object.
- See Also:
-
getFactories
Returns all the factories available in the registry for the given object.- Specified by:
getFactoriesin interfaceIAccessorFactory.Registry- Parameters:
target- the given object.- Returns:
- all the factories available in the registry for the given object.
- See Also:
-
add
Add the given factory to the registry.- Specified by:
addin interfaceIAccessorFactory.Registry- Parameters:
factory- the given factory.- Returns:
- the given factory.
- See Also:
-
org.eclipse.emf.compare.rcp.ui.contentmergeviewer.accessor.factory.IAccessorFactory.Registry#add(java.lang.Object)
-
remove
Remove the factory represented by the given class name.- Specified by:
removein interfaceIAccessorFactory.Registry- Parameters:
className- the class name of the factory to removed.- Returns:
- the factory removed.
- See Also:
-
org.eclipse.emf.compare.rcp.ui.contentmergeviewer.accessor.factory.IAccessorFactory.Registry#remove(java.lang.Object)
-
clear
public void clear()Clear the registry.- Specified by:
clearin interfaceIAccessorFactory.Registry- See Also:
-