|
||||||||||
| 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.
Facetpublic 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.
FacetAttributepublic 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.
FacetReferencepublic 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.
FacetStructuralFeaturepublic 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.
FacetSetpublic 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.
Shortcutpublic 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.EModelElementpublic 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.ENamedElementpublic 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.EClassifierpublic 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.EClasspublic 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.ETypedElementpublic 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.EStructuralFeaturepublic 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.EAttributepublic 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.EReferencepublic 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.EPackagepublic Adapter createEObjectAdapter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||