Class MatchResourceAccessorFactory
java.lang.Object
org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.AbstractAccessorFactory
org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.MatchResourceAccessorFactory
- All Implemented Interfaces:
IAccessorFactory
A specific
IAccessorFactory for
MatchResource objects.- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.compare.rcp.ui.contentmergeviewer.accessor.factory.IAccessorFactory
IAccessorFactory.Registry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAncestor(AdapterFactory adapterFactory, Object target) Creates anITypedElementfrom anAdapterFactoryand a given object.createLeft(AdapterFactory adapterFactory, Object target) Creates anITypedElementfrom anAdapterFactoryand a given object.createRight(AdapterFactory adapterFactory, Object target) Creates anITypedElementfrom anAdapterFactoryand a given object.booleanisFactoryFor(Object target) Checks if the target object is applicable to the factory.Methods inherited from class org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.AbstractAccessorFactory
getRanking, setRanking
-
Constructor Details
-
MatchResourceAccessorFactory
public MatchResourceAccessorFactory()
-
-
Method Details
-
isFactoryFor
Checks if the target object is applicable to the factory.- Parameters:
target- the object for which we want to know if it is applicable to the factory.- Returns:
- true if the object is applicable to the factory, false otherwise.
- See Also:
-
createLeft
Creates anITypedElementfrom anAdapterFactoryand a given object. This accessor is specific for the left side of the comparison.- Parameters:
adapterFactory- the given adapter factory.target- the given object.- Returns:
- an ITypedElement.
- See Also:
-
createRight
Creates anITypedElementfrom anAdapterFactoryand a given object. This accessor is specific for the right side of the comparison.- Parameters:
adapterFactory- the given adapter factory.target- the given object.- Returns:
- an ITypedElement.
- See Also:
-
createAncestor
Creates anITypedElementfrom anAdapterFactoryand a given object. This accessor is specific for the ancestor side of the comparison.- Parameters:
adapterFactory- the given adapter factory.target- the given object.- Returns:
- an ITypedElement.
- See Also:
-