public interface IAccessorFactory
ITypedElement
s.Modifier and Type | Interface and Description |
---|---|
static interface |
IAccessorFactory.Registry
The registry of
IAccessorFactory . |
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. |
int |
getRanking()
The ranking of the factory.
|
boolean |
isFactoryFor(Object target)
Checks if the target object is applicable to the factory.
|
void |
setRanking(int value)
Set the ranking of the factory.
|
boolean isFactoryFor(Object target)
target
- the object for which we want to know if it is applicable to the factory.int getRanking()
void setRanking(int value)
value
- the ranking value.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.adapterFactory
- the given adapter factory.target
- the given object.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.adapterFactory
- the given adapter factory.target
- the given object.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.adapterFactory
- the given adapter factory.target
- the given object.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.