public class StringAttributeChangeAccessorFactory extends AbstractAccessorFactory implements IModelUpdateStrategyProvider
IAccessorFactory
for
string-typed AttributeChange
objects.IAccessorFactory.Registry
Constructor and Description |
---|
StringAttributeChangeAccessorFactory() |
Modifier and Type | Method and Description |
---|---|
ITypedElement |
createAncestor(AdapterFactory adapterFactory,
Object target)
Creates an
ITypedElement from an AdapterFactory and a given object. |
ITypedElement |
createLeft(AdapterFactory adapterFactory,
Object target)
Creates an
ITypedElement from an AdapterFactory and a given object. |
ITypedElement |
createRight(AdapterFactory adapterFactory,
Object target)
Creates an
ITypedElement from an AdapterFactory and a given object. |
IModelUpdateStrategy |
getModelUpdateStrategy()
Returns the model update strategy to be used for updating the model.
|
boolean |
isFactoryFor(Object target)
Checks if the target object is applicable to the factory.
|
getRanking, setRanking
public StringAttributeChangeAccessorFactory()
public boolean isFactoryFor(Object target)
isFactoryFor
in interface IAccessorFactory
target
- the object for which we want to know if it is applicable to the factory.IAccessorFactory.isFactoryFor(java.lang.Object)
public ITypedElement createLeft(AdapterFactory adapterFactory, Object target)
ITypedElement
from an AdapterFactory
and a given object. This accessor is
specific for the left side of the comparison.createLeft
in interface IAccessorFactory
adapterFactory
- the given adapter factory.target
- the given object.IAccessorFactory.createLeft(org.eclipse.emf.common.notify.AdapterFactory,
java.lang.Object)
public ITypedElement createRight(AdapterFactory adapterFactory, Object target)
ITypedElement
from an AdapterFactory
and a given object. This accessor is
specific for the right side of the comparison.createRight
in interface IAccessorFactory
adapterFactory
- the given adapter factory.target
- the given object.IAccessorFactory.createRight(org.eclipse.emf.common.notify.AdapterFactory,
java.lang.Object)
public ITypedElement createAncestor(AdapterFactory adapterFactory, Object target)
ITypedElement
from an AdapterFactory
and a given object. This accessor is
specific for the ancestor side of the comparison.createAncestor
in interface IAccessorFactory
adapterFactory
- the given adapter factory.target
- the given object.IAccessorFactory.createAncestor(org.eclipse.emf.common.notify.AdapterFactory,
java.lang.Object)
public IModelUpdateStrategy getModelUpdateStrategy()
getModelUpdateStrategy
in interface IModelUpdateStrategyProvider
IModelUpdateStrategyProvider.getModelUpdateStrategy()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.