Class KGraphAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
de.cau.cs.kieler.klighd.kgraph.util.KGraphAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class KGraphAdapterFactory 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:
EMF generated code
  • Field Details

    • modelPackage

      protected static KGraphPackage modelPackage
      The cached model package.
      EMF generated code
    • modelSwitch

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

    • KGraphAdapterFactory

      public KGraphAdapterFactory()
      Creates an instance of the adapter factory.
      EMF generated code
  • Method Details

    • 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 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.
      EMF generated code
    • 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.
      EMF generated code
    • createKGraphElementAdapter

      public org.eclipse.emf.common.notify.Adapter createKGraphElementAdapter()
      Creates a new adapter for an object of class 'Element'. 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:
      EMF generated code
    • createKLabeledGraphElementAdapter

      public org.eclipse.emf.common.notify.Adapter createKLabeledGraphElementAdapter()
      Creates a new adapter for an object of class 'KLabeled Graph Element'. 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:
      EMF generated code
    • createKGraphDataAdapter

      public org.eclipse.emf.common.notify.Adapter createKGraphDataAdapter()
      Creates a new adapter for an object of class 'Data'. 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:
      EMF generated code
    • createKNodeAdapter

      public org.eclipse.emf.common.notify.Adapter createKNodeAdapter()
      Creates a new adapter for an object of class 'KNode'. 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:
      EMF generated code
    • createKEdgeAdapter

      public org.eclipse.emf.common.notify.Adapter createKEdgeAdapter()
      Creates a new adapter for an object of class 'KEdge'. 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:
      EMF generated code
    • createKPortAdapter

      public org.eclipse.emf.common.notify.Adapter createKPortAdapter()
      Creates a new adapter for an object of class 'KPort'. 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:
      EMF generated code
    • createKLabelAdapter

      public org.eclipse.emf.common.notify.Adapter createKLabelAdapter()
      Creates a new adapter for an object of class 'KLabel'. 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:
      EMF generated code
    • createEMapPropertyHolderAdapter

      public org.eclipse.emf.common.notify.Adapter createEMapPropertyHolderAdapter()
      Creates a new adapter for an object of class 'EMap Property Holder'. 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:
      EMF generated code
    • createIPropertyToObjectMapAdapter

      public org.eclipse.emf.common.notify.Adapter createIPropertyToObjectMapAdapter()
      Creates a new adapter for an object of class 'IProperty To Object Map'. 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:
      EMF generated code
    • createIPropertyHolderAdapter

      public org.eclipse.emf.common.notify.Adapter createIPropertyHolderAdapter()
      Creates a new adapter for an object of class 'IProperty Holder'. 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:
      • IPropertyHolder
      EMF generated code
    • createPersistentEntryAdapter

      public org.eclipse.emf.common.notify.Adapter createPersistentEntryAdapter()
      Creates a new adapter for an object of class 'Persistent 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:
      EMF generated code
    • createKShapeLayoutAdapter

      public org.eclipse.emf.common.notify.Adapter createKShapeLayoutAdapter()
      Creates a new adapter for an object of class 'KShape Layout'. 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:
      EMF generated code
    • createKEdgeLayoutAdapter

      public org.eclipse.emf.common.notify.Adapter createKEdgeLayoutAdapter()
      Creates a new adapter for an object of class 'KEdge Layout'. 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:
      EMF generated code
    • createKLayoutDataAdapter

      public org.eclipse.emf.common.notify.Adapter createKLayoutDataAdapter()
      Creates a new adapter for an object of class 'KLayout Data'. 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:
      EMF generated code
    • createKPointAdapter

      public org.eclipse.emf.common.notify.Adapter createKPointAdapter()
      Creates a new adapter for an object of class 'KPoint'. 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:
      EMF generated code
    • createKInsetsAdapter

      public org.eclipse.emf.common.notify.Adapter createKInsetsAdapter()
      Creates a new adapter for an object of class 'KInsets'. 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:
      EMF generated code
    • createKIdentifierAdapter

      public org.eclipse.emf.common.notify.Adapter createKIdentifierAdapter()
      Creates a new adapter for an object of class 'KIdentifier'. 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:
      EMF generated code
    • 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.
      EMF generated code