Class BlangDslAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
ca.ubc.stat.blang.blangDsl.util.BlangDslAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class BlangDslAdapterFactory
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:
BlangDslPackage
  • Field Details

    • modelPackage

      protected static BlangDslPackage modelPackage
      The cached model package.
    • modelSwitch

      protected BlangDslSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
      The switch that delegates to the createXXX methods.
  • Constructor Details

    • BlangDslAdapterFactory

      public BlangDslAdapterFactory()
      Creates an instance of the adapter factory.
  • Method Details

    • 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.
    • createBlangModelAdapter

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

      public org.eclipse.emf.common.notify.Adapter createVariableDeclarationAdapter()
      Creates a new adapter for an object of class 'Variable Declaration'. 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:
      VariableDeclaration
    • createVariableNameAdapter

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

      public org.eclipse.emf.common.notify.Adapter createVariableDeclarationComponentAdapter()
      Creates a new adapter for an object of class 'Variable Declaration Component'. 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:
      VariableDeclarationComponent
    • createLawNodeAdapter

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

      public org.eclipse.emf.common.notify.Adapter createLogScaleFactorDeclarationAdapter()
      Creates a new adapter for an object of class 'Log Scale Factor Declaration'. 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:
      LogScaleFactorDeclaration
    • createForLoopAdapter

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

      public org.eclipse.emf.common.notify.Adapter createIfElseAdapter()
      Creates a new adapter for an object of class 'If Else'. 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:
      IfElse
    • createFactorDeclarationAdapter

      public org.eclipse.emf.common.notify.Adapter createFactorDeclarationAdapter()
      Creates a new adapter for an object of class 'Factor Declaration'. 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:
      FactorDeclaration
    • createInstantiatedDistributionAdapter

      public org.eclipse.emf.common.notify.Adapter createInstantiatedDistributionAdapter()
      Creates a new adapter for an object of class 'Instantiated Distribution'. 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:
      InstantiatedDistribution
    • createDistributionTypeSpecificationAdapter

      public org.eclipse.emf.common.notify.Adapter createDistributionTypeSpecificationAdapter()
      Creates a new adapter for an object of class 'Distribution Type Specification'. 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:
      DistributionTypeSpecification
    • createBlangDistAdapter

      public org.eclipse.emf.common.notify.Adapter createBlangDistAdapter()
      Creates a new adapter for an object of class 'Blang Dist'. 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:
      BlangDist
    • createJavaDistAdapter

      public org.eclipse.emf.common.notify.Adapter createJavaDistAdapter()
      Creates a new adapter for an object of class 'Java Dist'. 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:
      JavaDist
    • createDependencyAdapter

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

      public org.eclipse.emf.common.notify.Adapter createInitializerDependencyAdapter()
      Creates a new adapter for an object of class 'Initializer Dependency'. 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:
      InitializerDependency
    • createSimpleDependencyAdapter

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