public class AccessorFactoryRegistryImpl extends Object implements IAccessorFactory.Registry
IAccessorFactory.Registry
.Constructor and Description |
---|
AccessorFactoryRegistryImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
IAccessorFactory |
add(IAccessorFactory factory)
Add the given factory to the registry.
|
void |
clear()
Clear the registry.
|
List<IAccessorFactory> |
getFactories(Object target)
Returns all the factories available in the registry for the given object.
|
IAccessorFactory |
getHighestRankingFactory(Object target)
Returns the highest ranking factory available for the given object.
|
IAccessorFactory |
remove(String className)
Remove the factory represented by the given class name.
|
public AccessorFactoryRegistryImpl()
public IAccessorFactory getHighestRankingFactory(Object target)
getHighestRankingFactory
in interface IAccessorFactory.Registry
target
- the given object.IAccessorFactory.Registry.getHighestRankingFactory(java.lang.Object)
public List<IAccessorFactory> getFactories(Object target)
getFactories
in interface IAccessorFactory.Registry
target
- the given object.IAccessorFactory.Registry.getFactories(java.lang.Object)
public IAccessorFactory add(IAccessorFactory factory)
add
in interface IAccessorFactory.Registry
factory
- the given factory.org.eclipse.emf.compare.rcp.ui.contentmergeviewer.accessor.factory.IAccessorFactory.Registry#add(java.lang.Object)
public IAccessorFactory remove(String className)
remove
in interface IAccessorFactory.Registry
className
- the class name of the factory to removed.org.eclipse.emf.compare.rcp.ui.contentmergeviewer.accessor.factory.IAccessorFactory.Registry#remove(java.lang.Object)
public void clear()
clear
in interface IAccessorFactory.Registry
IAccessorFactory.Registry.clear()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.