|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAdapterFactoryImpl
org.eclipse.gmt.modisco.infra.facet.util.FacetAdapterFactory
public class FacetAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
FacetPackage
Constructor Summary | |
---|---|
FacetAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target . |
Adapter |
createEAttributeAdapter()
Creates a new adapter for an object of class ' EAttribute '. |
Adapter |
createEClassAdapter()
Creates a new adapter for an object of class ' EClass '. |
Adapter |
createEClassifierAdapter()
Creates a new adapter for an object of class ' EClassifier '. |
Adapter |
createEModelElementAdapter()
Creates a new adapter for an object of class ' EModel Element '. |
Adapter |
createENamedElementAdapter()
Creates a new adapter for an object of class ' ENamed Element '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createEPackageAdapter()
Creates a new adapter for an object of class ' EPackage '. |
Adapter |
createEReferenceAdapter()
Creates a new adapter for an object of class ' EReference '. |
Adapter |
createEStructuralFeatureAdapter()
Creates a new adapter for an object of class ' EStructural Feature '. |
Adapter |
createETypedElementAdapter()
Creates a new adapter for an object of class ' ETyped Element '. |
Adapter |
createFacetAdapter()
Creates a new adapter for an object of class ' Facet '. |
Adapter |
createFacetAttributeAdapter()
Creates a new adapter for an object of class ' Attribute '. |
Adapter |
createFacetReferenceAdapter()
Creates a new adapter for an object of class ' Reference '. |
Adapter |
createFacetSetAdapter()
Creates a new adapter for an object of class ' Set '. |
Adapter |
createFacetStructuralFeatureAdapter()
Creates a new adapter for an object of class ' Structural Feature '. |
Adapter |
createShortcutAdapter()
Creates a new adapter for an object of class ' Shortcut '. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacetAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(java.lang.Object object)
true
if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target
.
target
- the object to adapt.
target
.public Adapter createFacetAdapter()
Facet
'.
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.
Facet
public Adapter createFacetAttributeAdapter()
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.
FacetAttribute
public Adapter createFacetReferenceAdapter()
Reference
'.
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.
FacetReference
public Adapter createFacetStructuralFeatureAdapter()
Structural Feature
'.
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.
FacetStructuralFeature
public Adapter createFacetSetAdapter()
Set
'.
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.
FacetSet
public Adapter createShortcutAdapter()
Shortcut
'.
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.
Shortcut
public Adapter createEModelElementAdapter()
EModel 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.
org.eclipse.emf.ecore.EModelElement
public Adapter createENamedElementAdapter()
ENamed 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.
org.eclipse.emf.ecore.ENamedElement
public Adapter createEClassifierAdapter()
EClassifier
'.
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.
org.eclipse.emf.ecore.EClassifier
public Adapter createEClassAdapter()
EClass
'.
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.
org.eclipse.emf.ecore.EClass
public Adapter createETypedElementAdapter()
ETyped 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.
org.eclipse.emf.ecore.ETypedElement
public Adapter createEStructuralFeatureAdapter()
EStructural Feature
'.
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.
org.eclipse.emf.ecore.EStructuralFeature
public Adapter createEAttributeAdapter()
EAttribute
'.
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.
org.eclipse.emf.ecore.EAttribute
public Adapter createEReferenceAdapter()
EReference
'.
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.
org.eclipse.emf.ecore.EReference
public Adapter createEPackageAdapter()
EPackage
'.
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.
org.eclipse.emf.ecore.EPackage
public Adapter createEObjectAdapter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |