de.cau.cs.kieler.synccharts.util
Class SyncchartsAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by de.cau.cs.kieler.synccharts.util.SyncchartsAdapterFactory
All Implemented Interfaces:
AdapterFactory
Direct Known Subclasses:
SyncchartsItemProviderAdapterFactory

public class SyncchartsAdapterFactory
extends AdapterFactoryImpl

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

See Also:
SyncchartsPackage
Rating red
Generated:
This code was automatically generated.

Field Summary
protected static SyncchartsPackage modelPackage
          The cached model package.
protected  SyncchartsSwitch<Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
SyncchartsAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createActionAdapter()
          Creates a new adapter for an object of class 'Action'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAssignmentAdapter()
          Creates a new adapter for an object of class 'Assignment'.
 Adapter createBooleanValueAdapter()
          Creates a new adapter for an object of class 'Boolean Value'.
 Adapter createComplexExpressionAdapter()
          Creates a new adapter for an object of class 'Complex Expression'.
 Adapter createEffectAdapter()
          Creates a new adapter for an object of class 'Effect'.
 Adapter createEmissionAdapter()
          Creates a new adapter for an object of class 'Emission'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExpressionAdapter()
          Creates a new adapter for an object of class 'Expression'.
 Adapter createFloatValueAdapter()
          Creates a new adapter for an object of class 'Float Value'.
 Adapter createHostCodeAdapter()
          Creates a new adapter for an object of class 'Host Code'.
 Adapter createIntValueAdapter()
          Creates a new adapter for an object of class 'Int Value'.
 Adapter createRegionAdapter()
          Creates a new adapter for an object of class 'Region'.
 Adapter createRenamingAdapter()
          Creates a new adapter for an object of class 'Renaming'.
 Adapter createSignalAdapter()
          Creates a new adapter for an object of class 'Signal'.
 Adapter createSignalReferenceAdapter()
          Creates a new adapter for an object of class 'Signal Reference'.
 Adapter createStateAdapter()
          Creates a new adapter for an object of class 'State'.
 Adapter createTransitionAdapter()
          Creates a new adapter for an object of class 'Transition'.
 Adapter createValueAdapter()
          Creates a new adapter for an object of class 'Value'.
 Adapter createValuedObjectAdapter()
          Creates a new adapter for an object of class 'Valued Object'.
 Adapter createVariableAdapter()
          Creates a new adapter for an object of class 'Variable'.
 Adapter createVariableReferenceAdapter()
          Creates a new adapter for an object of class 'Variable Reference'.
 boolean isFactoryForType(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, associate, createAdapter, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static SyncchartsPackage modelPackage
The cached model package.

Generated:
This code was automatically generated.

modelSwitch

protected SyncchartsSwitch<Adapter> modelSwitch
The switch that delegates to the createXXX methods.

Generated:
This code was automatically generated.
Constructor Detail

SyncchartsAdapterFactory

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

Generated:
This code was automatically generated.
Method Detail

isFactoryForType

public boolean isFactoryForType(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 AdapterFactory
Overrides:
isFactoryForType in class AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.
Generated:
This code was automatically generated.

createAdapter

public Adapter createAdapter(Notifier target)
Creates an adapter for the target.

Overrides:
createAdapter in class AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.
Generated:
This code was automatically generated.

createActionAdapter

public Adapter createActionAdapter()
Creates a new adapter for an object of class 'Action'. 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:
Action
Generated:
This code was automatically generated.

createAssignmentAdapter

public Adapter createAssignmentAdapter()
Creates a new adapter for an object of class 'Assignment'. 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:
Assignment
Generated:
This code was automatically generated.

createComplexExpressionAdapter

public Adapter createComplexExpressionAdapter()
Creates a new adapter for an object of class 'Complex Expression'. 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:
ComplexExpression
Generated:
This code was automatically generated.

createEffectAdapter

public Adapter createEffectAdapter()
Creates a new adapter for an object of class 'Effect'. 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:
Effect
Generated:
This code was automatically generated.

createEmissionAdapter

public Adapter createEmissionAdapter()
Creates a new adapter for an object of class 'Emission'. 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:
Emission
Generated:
This code was automatically generated.

createExpressionAdapter

public Adapter createExpressionAdapter()
Creates a new adapter for an object of class 'Expression'. 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:
Expression
Generated:
This code was automatically generated.

createHostCodeAdapter

public Adapter createHostCodeAdapter()
Creates a new adapter for an object of class 'Host Code'. 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:
HostCode
Generated:
This code was automatically generated.

createRegionAdapter

public Adapter createRegionAdapter()
Creates a new adapter for an object of class 'Region'. 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:
Region
Generated:
This code was automatically generated.

createSignalAdapter

public Adapter createSignalAdapter()
Creates a new adapter for an object of class 'Signal'. 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:
Signal
Generated:
This code was automatically generated.

createSignalReferenceAdapter

public Adapter createSignalReferenceAdapter()
Creates a new adapter for an object of class 'Signal 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.

Returns:
the new adapter.
See Also:
SignalReference
Generated:
This code was automatically generated.

createRenamingAdapter

public Adapter createRenamingAdapter()
Creates a new adapter for an object of class 'Renaming'. 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:
Renaming
Generated:
This code was automatically generated.

createStateAdapter

public Adapter createStateAdapter()
Creates a new adapter for an object of class 'State'. 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:
State
Generated:
This code was automatically generated.

createTransitionAdapter

public Adapter createTransitionAdapter()
Creates a new adapter for an object of class 'Transition'. 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:
Transition
Generated:
This code was automatically generated.

createValuedObjectAdapter

public Adapter createValuedObjectAdapter()
Creates a new adapter for an object of class 'Valued Object'. 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:
ValuedObject
Generated:
This code was automatically generated.

createVariableAdapter

public Adapter createVariableAdapter()
Creates a new adapter for an object of class 'Variable'. 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:
Variable
Generated:
This code was automatically generated.

createVariableReferenceAdapter

public Adapter createVariableReferenceAdapter()
Creates a new adapter for an object of class 'Variable 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.

Returns:
the new adapter.
See Also:
VariableReference
Generated:
This code was automatically generated.

createValueAdapter

public Adapter createValueAdapter()
Creates a new adapter for an object of class '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:
Value
Generated:
This code was automatically generated.

createIntValueAdapter

public Adapter createIntValueAdapter()
Creates a new adapter for an object of class 'Int 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:
IntValue
Generated:
This code was automatically generated.

createFloatValueAdapter

public Adapter createFloatValueAdapter()
Creates a new adapter for an object of class 'Float 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:
FloatValue
Generated:
This code was automatically generated.

createBooleanValueAdapter

public Adapter createBooleanValueAdapter()
Creates a new adapter for an object of class 'Boolean 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:
BooleanValue
Generated:
This code was automatically generated.

createEObjectAdapter

public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.
Generated:
This code was automatically generated.