|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.AdapterFactoryImpl org.eclipse.emf.henshin.model.util.HenshinAdapterFactory
public class HenshinAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
HenshinPackage
Field Summary | |
---|---|
protected static HenshinPackage |
modelPackage
The cached model package. |
protected HenshinSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods. |
Constructor Summary | |
---|---|
HenshinAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target . |
Adapter |
createAndAdapter()
Creates a new adapter for an object of class ' And '. |
Adapter |
createAnnotationAdapter()
Creates a new adapter for an object of class ' Annotation '. |
Adapter |
createAttributeAdapter()
Creates a new adapter for an object of class ' Attribute '. |
Adapter |
createAttributeConditionAdapter()
Creates a new adapter for an object of class ' Attribute Condition '. |
Adapter |
createBinaryFormulaAdapter()
Creates a new adapter for an object of class ' Binary Formula '. |
Adapter |
createConditionalUnitAdapter()
Creates a new adapter for an object of class ' Conditional Unit '. |
Adapter |
createEdgeAdapter()
Creates a new adapter for an object of class ' Edge '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createFormulaAdapter()
Creates a new adapter for an object of class ' Formula '. |
Adapter |
createGraphAdapter()
Creates a new adapter for an object of class ' Graph '. |
Adapter |
createGraphElementAdapter()
Creates a new adapter for an object of class ' Graph Element '. |
Adapter |
createIndependentUnitAdapter()
Creates a new adapter for an object of class ' Independent Unit '. |
Adapter |
createIteratedUnitAdapter()
Creates a new adapter for an object of class ' Iterated Unit '. |
Adapter |
createLoopUnitAdapter()
Creates a new adapter for an object of class ' Loop Unit '. |
Adapter |
createMappingAdapter()
Creates a new adapter for an object of class ' Mapping '. |
Adapter |
createModelElementAdapter()
Creates a new adapter for an object of class ' Model Element '. |
Adapter |
createModuleAdapter()
Creates a new adapter for an object of class ' Module '. |
Adapter |
createMultiUnitAdapter()
Creates a new adapter for an object of class ' Multi Unit '. |
Adapter |
createNamedElementAdapter()
Creates a new adapter for an object of class ' Named Element '. |
Adapter |
createNestedConditionAdapter()
Creates a new adapter for an object of class ' Nested Condition '. |
Adapter |
createNodeAdapter()
Creates a new adapter for an object of class ' Node '. |
Adapter |
createNotAdapter()
Creates a new adapter for an object of class ' Not '. |
Adapter |
createOrAdapter()
Creates a new adapter for an object of class ' Or '. |
Adapter |
createParameterAdapter()
Creates a new adapter for an object of class ' Parameter '. |
Adapter |
createParameterMappingAdapter()
Creates a new adapter for an object of class ' Parameter Mapping '. |
Adapter |
createPriorityUnitAdapter()
Creates a new adapter for an object of class ' Priority Unit '. |
Adapter |
createRuleAdapter()
Creates a new adapter for an object of class ' Rule '. |
Adapter |
createSequentialUnitAdapter()
Creates a new adapter for an object of class ' Sequential Unit '. |
Adapter |
createUnaryFormulaAdapter()
Creates a new adapter for an object of class ' Unary Formula '. |
Adapter |
createUnaryUnitAdapter()
Creates a new adapter for an object of class ' Unary Unit '. |
Adapter |
createUnitAdapter()
Creates a new adapter for an object of class ' Unit '. |
Adapter |
createXorAdapter()
Creates a new adapter for an object of class ' Xor '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
---|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static HenshinPackage modelPackage
protected HenshinSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public HenshinAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(Object object)
true
if the object is either the model's package or is an instance object of the model.
isFactoryForType
in interface AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- the object to adapt.
target
.public Adapter createModelElementAdapter()
Model Element
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ModelElement
public Adapter createAnnotationAdapter()
Annotation
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Annotation
public Adapter createNamedElementAdapter()
Named Element
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
NamedElement
public Adapter createRuleAdapter()
Rule
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Rule
public Adapter createAttributeConditionAdapter()
Attribute Condition
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
AttributeCondition
public Adapter createParameterAdapter()
Parameter
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Parameter
public Adapter createGraphAdapter()
Graph
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Graph
public Adapter createGraphElementAdapter()
Graph Element
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
GraphElement
public Adapter createModuleAdapter()
Module
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Module
public Adapter createUnitAdapter()
Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Unit
public Adapter createMappingAdapter()
Mapping
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Mapping
public Adapter createNodeAdapter()
Node
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Node
public Adapter createAttributeAdapter()
Attribute
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Attribute
public Adapter createEdgeAdapter()
Edge
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Edge
public Adapter createUnaryUnitAdapter()
Unary Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
UnaryUnit
public Adapter createMultiUnitAdapter()
Multi Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
MultiUnit
public Adapter createIndependentUnitAdapter()
Independent Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
IndependentUnit
public Adapter createSequentialUnitAdapter()
Sequential Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
SequentialUnit
public Adapter createConditionalUnitAdapter()
Conditional Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ConditionalUnit
public Adapter createPriorityUnitAdapter()
Priority Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
PriorityUnit
public Adapter createIteratedUnitAdapter()
Iterated Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
IteratedUnit
public Adapter createLoopUnitAdapter()
Loop Unit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
LoopUnit
public Adapter createNestedConditionAdapter()
Nested Condition
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
NestedCondition
public Adapter createFormulaAdapter()
Formula
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Formula
public Adapter createUnaryFormulaAdapter()
Unary Formula
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
UnaryFormula
public Adapter createBinaryFormulaAdapter()
Binary Formula
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
BinaryFormula
public Adapter createAndAdapter()
And
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
And
public Adapter createOrAdapter()
Or
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Or
public Adapter createNotAdapter()
Not
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Not
public Adapter createXorAdapter()
Xor
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Xor
public Adapter createParameterMappingAdapter()
Parameter Mapping
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ParameterMapping
public Adapter createEObjectAdapter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |