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 Summary
FieldsModifier and TypeFieldDescriptionprotected static KGraphPackageThe cached model package.protected KGraphSwitch<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 'EMap Property Holder'.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 'IProperty Holder'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'IProperty To Object Map'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KEdge'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KEdge Layout'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Data'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KIdentifier'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KInsets'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KLabel'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KLabeled Graph Element'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KLayout Data'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KNode'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KPoint'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KPort'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'KShape Layout'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Persistent Entry'.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.- EMF generated code
-
modelSwitch
The switch that delegates to thecreateXXXmethods.- EMF generated code
-
-
Constructor Details
-
KGraphAdapterFactory
public KGraphAdapterFactory()Creates an instance of the adapter factory.- EMF generated code
-
-
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.
- EMF generated code
-
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. - 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
-