org.eclipse.ohf.stem.core.graph.util
Class GraphAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.ohf.stem.core.graph.util.GraphAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
Direct Known Subclasses:
GraphItemProviderAdapterFactory

public class GraphAdapterFactory
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:
GraphPackage

Constructor Summary
GraphAdapterFactory()
          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 createDynamicEdgeLabelAdapter()
          Creates a new adapter for an object of class 'Dynamic Edge Label'.
 org.eclipse.emf.common.notify.Adapter createDynamicLabelAdapter()
          Creates a new adapter for an object of class 'Dynamic Label'.
 org.eclipse.emf.common.notify.Adapter createDynamicNodeLabelAdapter()
          Creates a new adapter for an object of class 'Dynamic Node Label'.
 org.eclipse.emf.common.notify.Adapter createEdgeAdapter()
          Creates a new adapter for an object of class 'Edge'.
 org.eclipse.emf.common.notify.Adapter createEdgeLabelAdapter()
          Creates a new adapter for an object of class 'Edge Label'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createGraphAdapter()
          Creates a new adapter for an object of class 'Graph'.
 org.eclipse.emf.common.notify.Adapter createIdentifiableAdapter()
          Creates a new adapter for an object of class 'Identifiable'.
 org.eclipse.emf.common.notify.Adapter createLabelAdapter()
          Creates a new adapter for an object of class 'Label'.
 org.eclipse.emf.common.notify.Adapter createLabelValueAdapter()
          Creates a new adapter for an object of class 'Label Value'.
 org.eclipse.emf.common.notify.Adapter createNodeAdapter()
          Creates a new adapter for an object of class 'Node'.
 org.eclipse.emf.common.notify.Adapter createNodeLabelAdapter()
          Creates a new adapter for an object of class 'Node Label'.
 org.eclipse.emf.common.notify.Adapter createSanityCheckerAdapter()
          Creates a new adapter for an object of class 'Sanity Checker'.
 org.eclipse.emf.common.notify.Adapter createStaticEdgeLabelAdapter()
          Creates a new adapter for an object of class 'Static Edge Label'.
 org.eclipse.emf.common.notify.Adapter createStaticNodeLabelAdapter()
          Creates a new adapter for an object of class 'Static Node Label'.
 org.eclipse.emf.common.notify.Adapter createUnresolvedIdentifiableAdapter()
          Creates a new adapter for an object of class 'Unresolved Identifiable'.
 org.eclipse.emf.common.notify.Adapter createURIToEdgeMapEntryAdapter()
          Creates a new adapter for an object of class 'URI To Edge Map Entry'.
 org.eclipse.emf.common.notify.Adapter createURIToIdentifiableMapEntryAdapter()
          Creates a new adapter for an object of class 'URI To Identifiable Map Entry'.
 org.eclipse.emf.common.notify.Adapter createURIToLabelMapEntryAdapter()
          Creates a new adapter for an object of class 'URI To Label Map Entry'.
 org.eclipse.emf.common.notify.Adapter createURIToNodeLabelMapEntryAdapter()
          Creates a new adapter for an object of class 'URI To Node Label Map Entry'.
 org.eclipse.emf.common.notify.Adapter createURIToNodeMapEntryAdapter()
          Creates a new adapter for an object of class 'URI To Node Map Entry'.
 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

GraphAdapterFactory

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

createDynamicLabelAdapter

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

createEdgeAdapter

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

Returns:
the new adapter.
See Also:
Edge

createGraphAdapter

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

Returns:
the new adapter.
See Also:
Graph

createLabelAdapter

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

createLabelValueAdapter

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

createNodeAdapter

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

createUnresolvedIdentifiableAdapter

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

createURIToIdentifiableMapEntryAdapter

public org.eclipse.emf.common.notify.Adapter createURIToIdentifiableMapEntryAdapter()
Creates a new adapter for an object of class 'URI To Identifiable Map Entry'. 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:
Map.Entry

createSanityCheckerAdapter

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

createDynamicEdgeLabelAdapter

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

createEdgeLabelAdapter

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

createStaticEdgeLabelAdapter

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

createURIToEdgeMapEntryAdapter

public org.eclipse.emf.common.notify.Adapter createURIToEdgeMapEntryAdapter()
Creates a new adapter for an object of class 'URI To Edge Map Entry'. 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:
Map.Entry

createURIToNodeMapEntryAdapter

public org.eclipse.emf.common.notify.Adapter createURIToNodeMapEntryAdapter()
Creates a new adapter for an object of class 'URI To Node Map Entry'. 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:
Map.Entry

createURIToLabelMapEntryAdapter

public org.eclipse.emf.common.notify.Adapter createURIToLabelMapEntryAdapter()
Creates a new adapter for an object of class 'URI To Label Map Entry'. 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:
Map.Entry

createURIToNodeLabelMapEntryAdapter

public org.eclipse.emf.common.notify.Adapter createURIToNodeLabelMapEntryAdapter()
Creates a new adapter for an object of class 'URI To Node Label Map Entry'. 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:
Map.Entry

createDynamicNodeLabelAdapter

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

createStaticNodeLabelAdapter

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

createNodeLabelAdapter

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

createIdentifiableAdapter

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

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.