org.eclipse.ohf.stem.tests.util.decorators.util
Class DecoratorsAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.ohf.stem.tests.util.decorators.util.DecoratorsAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
Direct Known Subclasses:
DecoratorsItemProviderAdapterFactory

public class DecoratorsAdapterFactory
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:
DecoratorsPackage

Constructor Summary
DecoratorsAdapterFactory()
          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 createDecoratorAdapter()
          Creates a new adapter for an object of class 'Decorator'.
 org.eclipse.emf.common.notify.Adapter createEdgeDecorator_1Adapter()
          Creates a new adapter for an object of class 'Edge Decorator'.
 org.eclipse.emf.common.notify.Adapter createEdgeDecoratorAdapter()
          Creates a new adapter for an object of class 'Edge Decorator'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createGraphDecorator_1Adapter()
          Creates a new adapter for an object of class 'Graph Decorator'.
 org.eclipse.emf.common.notify.Adapter createGraphDecoratorAdapter()
          Creates a new adapter for an object of class 'Graph Decorator'.
 org.eclipse.emf.common.notify.Adapter createIdentifiableAdapter()
          Creates a new adapter for an object of class 'Identifiable'.
 org.eclipse.emf.common.notify.Adapter createNodeDecorator_1Adapter()
          Creates a new adapter for an object of class 'Node Decorator'.
 org.eclipse.emf.common.notify.Adapter createNodeDecoratorAdapter()
          Creates a new adapter for an object of class 'Node Decorator'.
 org.eclipse.emf.common.notify.Adapter createTestEdgeDecorator1Adapter()
          Creates a new adapter for an object of class 'Test Edge Decorator1'.
 org.eclipse.emf.common.notify.Adapter createTestGraphDecorator1Adapter()
          Creates a new adapter for an object of class 'Test Graph Decorator1'.
 org.eclipse.emf.common.notify.Adapter createTestNodeDecorator1Adapter()
          Creates a new adapter for an object of class 'Test Node Decorator1'.
 org.eclipse.emf.common.notify.Adapter createTestScenarioGraphDecorator1Adapter()
          Creates a new adapter for an object of class 'Test Scenario Graph Decorator1'.
 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

DecoratorsAdapterFactory

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

createTestNodeDecorator1Adapter

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

createTestEdgeDecorator1Adapter

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

createTestGraphDecorator1Adapter

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

createTestScenarioGraphDecorator1Adapter

public org.eclipse.emf.common.notify.Adapter createTestScenarioGraphDecorator1Adapter()
Creates a new adapter for an object of class 'Test Scenario Graph Decorator1'. 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:
TestScenarioGraphDecorator1

createNodeDecoratorAdapter

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

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

createDecoratorAdapter

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

createEdgeDecorator_1Adapter

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

createGraphDecorator_1Adapter

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

createNodeDecorator_1Adapter

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

createEdgeDecoratorAdapter

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

createGraphDecoratorAdapter

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

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.