org.eclipse.gmt.umlx.gcore.util
Class GcoreAdapterFactory

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

public class GcoreAdapterFactory
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:
GcorePackage

Constructor Summary
GcoreAdapterFactory()
          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 createGDiagramAdapter()
          Creates a new adapter for an object of class 'GDiagram'.
 org.eclipse.emf.common.notify.Adapter createGDiagramParentAdapter()
          Creates a new adapter for an object of class 'GDiagram Parent'.
 org.eclipse.emf.common.notify.Adapter createGElementAdapter()
          Creates a new adapter for an object of class 'GElement'.
 org.eclipse.emf.common.notify.Adapter createGFolderAdapter()
          Creates a new adapter for an object of class 'GFolder'.
 org.eclipse.emf.common.notify.Adapter createGImportAdapter()
          Creates a new adapter for an object of class 'GImport'.
 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 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 createGPersistentSheetLinkAdapter()
          Creates a new adapter for an object of class 'GPersistent Sheet Link'.
 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 createGRootFolderAdapter()
          Creates a new adapter for an object of class 'GRoot Folder'.
 org.eclipse.emf.common.notify.Adapter createGSheetAdapter()
          Creates a new adapter for an object of class 'GSheet'.
 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 createGStickyLinkAdapter()
          Creates a new adapter for an object of class 'GSticky Link'.
 org.eclipse.emf.common.notify.Adapter createGStickyNoteAdapter()
          Creates a new adapter for an object of class 'GSticky Note'.
 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 createGTransientSheetNodeAdapter()
          Creates a new adapter for an object of class 'GTransient Sheet Node'.
 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

GcoreAdapterFactory

public GcoreAdapterFactory()
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.

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

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

createGFolderAdapter

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

createGImportAdapter

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

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

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

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

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

createGRootFolderAdapter

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

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

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

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

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

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

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

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

createGStickyLinkAdapter

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

createGStickyNoteAdapter

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

createGTransientSheetNodeAdapter

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

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

createGPersistentSheetLinkAdapter

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

createGDiagramParentAdapter

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

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.