Class TemplateLangAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
de.uni_hildesheim.sse.vil.templatelang.templateLang.util.TemplateLangAdapterFactory
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class TemplateLangAdapterFactory
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static TemplateLangPackageThe cached model package.protected TemplateLangSwitch<org.eclipse.emf.common.notify.Adapter> The switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target) Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Alternative'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Content'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for the default case.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Language Unit'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Sub Call'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Extension'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Formatting Hint'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Formatting Hint Part'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'generic Multiselect'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Hinted Expression'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Indentation Hint'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Indentation Hint Part'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Java Qualified Name'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Language Unit'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Loop'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'multiselect'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'multi Select Part'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Stmt'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Stmt Block'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Sub Call'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Switch'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Switch Part'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Top'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'user Multiselect'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Vil Def'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'While'.booleanisFactoryForType(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
-
Field Details
-
modelPackage
The cached model package. -
modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Constructor Details
-
TemplateLangAdapterFactory
public TemplateLangAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceorg.eclipse.emf.common.notify.AdapterFactory- Overrides:
isFactoryForTypein classorg.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 thetarget.- Overrides:
createAdapterin classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target.
-
createLanguageUnitAdapter
public org.eclipse.emf.common.notify.Adapter createLanguageUnitAdapter()Creates a new adapter for an object of class 'Language Unit'. 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:
-
createTopAdapter
public org.eclipse.emf.common.notify.Adapter createTopAdapter()Creates a new adapter for an object of class 'Top'. 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:
-
createHintedExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createHintedExpressionAdapter()Creates a new adapter for an object of class 'Hinted 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:
-
createIndentationHintAdapter
public org.eclipse.emf.common.notify.Adapter createIndentationHintAdapter()Creates a new adapter for an object of class 'Indentation Hint'. 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:
-
createIndentationHintPartAdapter
public org.eclipse.emf.common.notify.Adapter createIndentationHintPartAdapter()Creates a new adapter for an object of class 'Indentation Hint Part'. 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:
-
createFormattingHintAdapter
public org.eclipse.emf.common.notify.Adapter createFormattingHintAdapter()Creates a new adapter for an object of class 'Formatting Hint'. 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:
-
createFormattingHintPartAdapter
public org.eclipse.emf.common.notify.Adapter createFormattingHintPartAdapter()Creates a new adapter for an object of class 'Formatting Hint Part'. 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:
-
createVilDefAdapter
public org.eclipse.emf.common.notify.Adapter createVilDefAdapter()Creates a new adapter for an object of class 'Vil Def'. 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:
-
createStmtBlockAdapter
public org.eclipse.emf.common.notify.Adapter createStmtBlockAdapter()Creates a new adapter for an object of class 'Stmt Block'. 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:
-
createStmtAdapter
public org.eclipse.emf.common.notify.Adapter createStmtAdapter()Creates a new adapter for an object of class 'Stmt'. 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:
-
createAlternativeAdapter
public org.eclipse.emf.common.notify.Adapter createAlternativeAdapter()Creates a new adapter for an object of class 'Alternative'. 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:
-
createContentAdapter
public org.eclipse.emf.common.notify.Adapter createContentAdapter()Creates a new adapter for an object of class 'Content'. 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:
-
createSwitchAdapter
public org.eclipse.emf.common.notify.Adapter createSwitchAdapter()Creates a new adapter for an object of class 'Switch'. 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:
-
createSwitchPartAdapter
public org.eclipse.emf.common.notify.Adapter createSwitchPartAdapter()Creates a new adapter for an object of class 'Switch Part'. 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:
-
createLoopAdapter
public org.eclipse.emf.common.notify.Adapter createLoopAdapter()Creates a new adapter for an object of class 'Loop'. 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:
-
createWhileAdapter
public org.eclipse.emf.common.notify.Adapter createWhileAdapter()Creates a new adapter for an object of class 'While'. 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:
-
createSubCallAdapter
public org.eclipse.emf.common.notify.Adapter createSubCallAdapter()Creates a new adapter for an object of class 'Sub Call'. 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:
-
createmultiselectAdapter
public org.eclipse.emf.common.notify.Adapter createmultiselectAdapter()Creates a new adapter for an object of class 'multiselect'. 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:
-
creategenericMultiselectAdapter
public org.eclipse.emf.common.notify.Adapter creategenericMultiselectAdapter()Creates a new adapter for an object of class 'generic Multiselect'. 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:
-
createmultiSelectPartAdapter
public org.eclipse.emf.common.notify.Adapter createmultiSelectPartAdapter()Creates a new adapter for an object of class 'multi Select Part'. 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:
-
createuserMultiselectAdapter
public org.eclipse.emf.common.notify.Adapter createuserMultiselectAdapter()Creates a new adapter for an object of class 'user Multiselect'. 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:
-
createExtensionAdapter
public org.eclipse.emf.common.notify.Adapter createExtensionAdapter()Creates a new adapter for an object of class 'Extension'. 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:
-
createJavaQualifiedNameAdapter
public org.eclipse.emf.common.notify.Adapter createJavaQualifiedNameAdapter()Creates a new adapter for an object of class 'Java Qualified Name'. 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:
-
createExpressionDsl_LanguageUnitAdapter
public org.eclipse.emf.common.notify.Adapter createExpressionDsl_LanguageUnitAdapter()Creates a new adapter for an object of class 'Language Unit'. 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:
-
createExpressionDsl_SubCallAdapter
public org.eclipse.emf.common.notify.Adapter createExpressionDsl_SubCallAdapter()Creates a new adapter for an object of class 'Sub Call'. 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:
-
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.
-