org.eclipse.gmt.umlx.mm.util
Class MmAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.gmt.umlx.mm.util.MmAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class MmAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
MmPackage

Constructor Summary
MmAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target.
 org.eclipse.emf.common.notify.Adapter createEModelElementAdapter()
          Creates a new adapter for an object of class 'EModel Element'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createGAssociationAdapter()
          Creates a new adapter for an object of class 'GAssociation'.
 org.eclipse.emf.common.notify.Adapter createGAttributionAdapter()
          Creates a new adapter for an object of class 'GAttribution'.
 org.eclipse.emf.common.notify.Adapter createGClassAdapter()
          Creates a new adapter for an object of class 'GClass'.
 org.eclipse.emf.common.notify.Adapter createGClassAttributeAdapter()
          Creates a new adapter for an object of class 'GClass Attribute'.
 org.eclipse.emf.common.notify.Adapter createGClassNodeAdapter()
          Creates a new adapter for an object of class 'GClass Node'.
 org.eclipse.emf.common.notify.Adapter createGClassOperationAdapter()
          Creates a new adapter for an object of class 'GClass Operation'.
 org.eclipse.emf.common.notify.Adapter createGDataTypeAdapter()
          Creates a new adapter for an object of class 'GData Type'.
 org.eclipse.emf.common.notify.Adapter createGDiagramAdapter()
          Creates a new adapter for an object of class 'GDiagram'.
 org.eclipse.emf.common.notify.Adapter createGElementAdapter()
          Creates a new adapter for an object of class 'GElement'.
 org.eclipse.emf.common.notify.Adapter createGEnumAdapter()
          Creates a new adapter for an object of class 'GEnum'.
 org.eclipse.emf.common.notify.Adapter createGEnumLiteralAdapter()
          Creates a new adapter for an object of class 'GEnum Literal'.
 org.eclipse.emf.common.notify.Adapter createGInheritanceAdapter()
          Creates a new adapter for an object of class 'GInheritance'.
 org.eclipse.emf.common.notify.Adapter createGLinkElementAdapter()
          Creates a new adapter for an object of class 'GLink Element'.
 org.eclipse.emf.common.notify.Adapter createGModelElementAdapter()
          Creates a new adapter for an object of class 'GModel Element'.
 org.eclipse.emf.common.notify.Adapter createGNamedElementAdapter()
          Creates a new adapter for an object of class 'GNamed Element'.
 org.eclipse.emf.common.notify.Adapter createGNodeElementAdapter()
          Creates a new adapter for an object of class 'GNode Element'.
 org.eclipse.emf.common.notify.Adapter createGPackageAdapter()
          Creates a new adapter for an object of class 'GPackage'.
 org.eclipse.emf.common.notify.Adapter createGPersistentCoModelAdapter()
          Creates a new adapter for an object of class 'GPersistent Co Model'.
 org.eclipse.emf.common.notify.Adapter createGPersistentNamedSheetNodeAdapter()
          Creates a new adapter for an object of class 'GPersistent Named Sheet Node'.
 org.eclipse.emf.common.notify.Adapter createGPersistentSheetNodeAdapter()
          Creates a new adapter for an object of class 'GPersistent Sheet Node'.
 org.eclipse.emf.common.notify.Adapter createGSheetAdapter()
          Creates a new adapter for an object of class 'GSheet'.
 org.eclipse.emf.common.notify.Adapter createGSheetAttributeAdapter()
          Creates a new adapter for an object of class 'GSheet Attribute'.
 org.eclipse.emf.common.notify.Adapter createGSheetLinkAdapter()
          Creates a new adapter for an object of class 'GSheet Link'.
 org.eclipse.emf.common.notify.Adapter createGSheetNodeAdapter()
          Creates a new adapter for an object of class 'GSheet Node'.
 org.eclipse.emf.common.notify.Adapter createGTransientCoModelAdapter()
          Creates a new adapter for an object of class 'GTransient Co Model'.
 org.eclipse.emf.common.notify.Adapter createGTransientSheetLinkAdapter()
          Creates a new adapter for an object of class 'GTransient Sheet Link'.
 org.eclipse.emf.common.notify.Adapter createMmSheetAdapter()
          Creates a new adapter for an object of class 'Sheet'.
 org.eclipse.emf.common.notify.Adapter createMmSheetLinkAdapter()
          Creates a new adapter for an object of class 'Sheet Link'.
 boolean isFactoryForType(java.lang.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MmAdapterFactory

public MmAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.

Specified by:
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
Overrides:
isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.

createAdapter

public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the target.

Overrides:
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createGInheritanceAdapter

public org.eclipse.emf.common.notify.Adapter createGInheritanceAdapter()
Creates a new adapter for an object of class 'GInheritance'. 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.

Returns:
the new adapter.
See Also:
GInheritance

createGAssociationAdapter

public org.eclipse.emf.common.notify.Adapter createGAssociationAdapter()
Creates a new adapter for an object of class 'GAssociation'. 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.

Returns:
the new adapter.
See Also:
GAssociation

createGClassAdapter

public org.eclipse.emf.common.notify.Adapter createGClassAdapter()
Creates a new adapter for an object of class 'GClass'. 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.

Returns:
the new adapter.
See Also:
GClass

createGPackageAdapter

public org.eclipse.emf.common.notify.Adapter createGPackageAdapter()
Creates a new adapter for an object of class 'GPackage'. 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.

Returns:
the new adapter.
See Also:
GPackage

createGDataTypeAdapter

public org.eclipse.emf.common.notify.Adapter createGDataTypeAdapter()
Creates a new adapter for an object of class 'GData Type'. 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.

Returns:
the new adapter.
See Also:
GDataType

createGEnumAdapter

public org.eclipse.emf.common.notify.Adapter createGEnumAdapter()
Creates a new adapter for an object of class 'GEnum'. 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.

Returns:
the new adapter.
See Also:
GEnum

createGEnumLiteralAdapter

public org.eclipse.emf.common.notify.Adapter createGEnumLiteralAdapter()
Creates a new adapter for an object of class 'GEnum Literal'. 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.

Returns:
the new adapter.
See Also:
GEnumLiteral

createMmSheetAdapter

public org.eclipse.emf.common.notify.Adapter createMmSheetAdapter()
Creates a new adapter for an object of class 'Sheet'. 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.

Returns:
the new adapter.
See Also:
MmSheet

createGClassAttributeAdapter

public org.eclipse.emf.common.notify.Adapter createGClassAttributeAdapter()
Creates a new adapter for an object of class 'GClass 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.

Returns:
the new adapter.
See Also:
GClassAttribute

createGClassOperationAdapter

public org.eclipse.emf.common.notify.Adapter createGClassOperationAdapter()
Creates a new adapter for an object of class 'GClass Operation'. 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.

Returns:
the new adapter.
See Also:
GClassOperation

createGAttributionAdapter

public org.eclipse.emf.common.notify.Adapter createGAttributionAdapter()
Creates a new adapter for an object of class 'GAttribution'. 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.

Returns:
the new adapter.
See Also:
GAttribution

createGClassNodeAdapter

public org.eclipse.emf.common.notify.Adapter createGClassNodeAdapter()
Creates a new adapter for an object of class 'GClass 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.

Returns:
the new adapter.
See Also:
GClassNode

createGSheetAttributeAdapter

public org.eclipse.emf.common.notify.Adapter createGSheetAttributeAdapter()
Creates a new adapter for an object of class 'GSheet 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.

Returns:
the new adapter.
See Also:
GSheetAttribute

createMmSheetLinkAdapter

public org.eclipse.emf.common.notify.Adapter createMmSheetLinkAdapter()
Creates a new adapter for an object of class 'Sheet Link'. 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.

Returns:
the new adapter.
See Also:
MmSheetLink

createEModelElementAdapter

public org.eclipse.emf.common.notify.Adapter createEModelElementAdapter()
Creates a new adapter for an object of class '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.

Returns:
the new adapter.
See Also:
EModelElement

createGElementAdapter

public org.eclipse.emf.common.notify.Adapter createGElementAdapter()
Creates a new adapter for an object of class 'GElement'. 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.

Returns:
the new adapter.
See Also:
GElement

createGModelElementAdapter

public org.eclipse.emf.common.notify.Adapter createGModelElementAdapter()
Creates a new adapter for an object of class 'GModel 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.

Returns:
the new adapter.
See Also:
GModelElement

createGNodeElementAdapter

public org.eclipse.emf.common.notify.Adapter createGNodeElementAdapter()
Creates a new adapter for an object of class 'GNode 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.

Returns:
the new adapter.
See Also:
GNodeElement

createGSheetNodeAdapter

public org.eclipse.emf.common.notify.Adapter createGSheetNodeAdapter()
Creates a new adapter for an object of class 'GSheet 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.

Returns:
the new adapter.
See Also:
GSheetNode

createGLinkElementAdapter

public org.eclipse.emf.common.notify.Adapter createGLinkElementAdapter()
Creates a new adapter for an object of class 'GLink 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.

Returns:
the new adapter.
See Also:
GLinkElement

createGPersistentCoModelAdapter

public org.eclipse.emf.common.notify.Adapter createGPersistentCoModelAdapter()
Creates a new adapter for an object of class 'GPersistent Co Model'. 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.

Returns:
the new adapter.
See Also:
GPersistentCoModel

createGPersistentSheetNodeAdapter

public org.eclipse.emf.common.notify.Adapter createGPersistentSheetNodeAdapter()
Creates a new adapter for an object of class 'GPersistent Sheet 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.

Returns:
the new adapter.
See Also:
GPersistentSheetNode

createGPersistentNamedSheetNodeAdapter

public org.eclipse.emf.common.notify.Adapter createGPersistentNamedSheetNodeAdapter()
Creates a new adapter for an object of class 'GPersistent Named Sheet 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.

Returns:
the new adapter.
See Also:
GPersistentNamedSheetNode

createGSheetLinkAdapter

public org.eclipse.emf.common.notify.Adapter createGSheetLinkAdapter()
Creates a new adapter for an object of class 'GSheet Link'. 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.

Returns:
the new adapter.
See Also:
GSheetLink

createGTransientCoModelAdapter

public org.eclipse.emf.common.notify.Adapter createGTransientCoModelAdapter()
Creates a new adapter for an object of class 'GTransient Co Model'. 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.

Returns:
the new adapter.
See Also:
GTransientCoModel

createGTransientSheetLinkAdapter

public org.eclipse.emf.common.notify.Adapter createGTransientSheetLinkAdapter()
Creates a new adapter for an object of class 'GTransient Sheet Link'. 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.

Returns:
the new adapter.
See Also:
GTransientSheetLink

createGDiagramAdapter

public org.eclipse.emf.common.notify.Adapter createGDiagramAdapter()
Creates a new adapter for an object of class 'GDiagram'. 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.

Returns:
the new adapter.
See Also:
GDiagram

createGSheetAdapter

public org.eclipse.emf.common.notify.Adapter createGSheetAdapter()
Creates a new adapter for an object of class 'GSheet'. 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.

Returns:
the new adapter.
See Also:
GSheet

createGNamedElementAdapter

public org.eclipse.emf.common.notify.Adapter createGNamedElementAdapter()
Creates a new adapter for an object of class 'GNamed 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.

Returns:
the new adapter.
See Also:
GNamedElement

createEObjectAdapter

public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.