public class SofiagraphicsAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
createXXX method for each class of the model.
SofiagraphicsPackage| Modifier and Type | Field and Description |
|---|---|
protected static SofiagraphicsPackage |
modelPackage
The cached model package.
|
protected SofiagraphicsSwitch<org.eclipse.emf.common.notify.Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
| Constructor and Description |
|---|
SofiagraphicsAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.Adapter |
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the
target. |
org.eclipse.emf.common.notify.Adapter |
createColorAdapter()
Creates a new adapter for an object of class '
Color'. |
org.eclipse.emf.common.notify.Adapter |
createDimensionAdapter()
Creates a new adapter for an object of class '
Dimension'. |
org.eclipse.emf.common.notify.Adapter |
createEllipseAdapter()
Creates a new adapter for an object of class '
Ellipse'. |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
org.eclipse.emf.common.notify.Adapter |
createGestureAdapter()
Creates a new adapter for an object of class '
Gesture'. |
org.eclipse.emf.common.notify.Adapter |
createPointAdapter()
Creates a new adapter for an object of class '
Point'. |
org.eclipse.emf.common.notify.Adapter |
createPolylineAdapter()
Creates a new adapter for an object of class '
Polyline'. |
org.eclipse.emf.common.notify.Adapter |
createRectangleAdapter()
Creates a new adapter for an object of class '
Rectangle'. |
org.eclipse.emf.common.notify.Adapter |
createRoundedRectangleAdapter()
Creates a new adapter for an object of class '
Rounded Rectangle'. |
org.eclipse.emf.common.notify.Adapter |
createSceneAdapter()
Creates a new adapter for an object of class '
Scene'. |
org.eclipse.emf.common.notify.Adapter |
createStyleAdapter()
Creates a new adapter for an object of class '
Style'. |
org.eclipse.emf.common.notify.Adapter |
createTextAdapter()
Creates a new adapter for an object of class '
Text'. |
org.eclipse.emf.common.notify.Adapter |
createWidgetAdapter()
Creates a new adapter for an object of class '
Widget'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static SofiagraphicsPackage modelPackage
protected SofiagraphicsSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
createXXX methods.
public SofiagraphicsAdapterFactory()
public boolean isFactoryForType(Object object)
true if the object is either the model's package or is an instance object of the model.
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
target.
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpltarget - the object to adapt.target.public org.eclipse.emf.common.notify.Adapter createPointAdapter()
Point'.
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.
Pointpublic org.eclipse.emf.common.notify.Adapter createDimensionAdapter()
Dimension'.
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.
Dimensionpublic org.eclipse.emf.common.notify.Adapter createWidgetAdapter()
Widget'.
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.
Widgetpublic org.eclipse.emf.common.notify.Adapter createRectangleAdapter()
Rectangle'.
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.
Rectanglepublic org.eclipse.emf.common.notify.Adapter createRoundedRectangleAdapter()
Rounded Rectangle'.
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.
RoundedRectanglepublic org.eclipse.emf.common.notify.Adapter createEllipseAdapter()
Ellipse'.
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.
Ellipsepublic org.eclipse.emf.common.notify.Adapter createPolylineAdapter()
Polyline'.
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.
Polylinepublic org.eclipse.emf.common.notify.Adapter createTextAdapter()
Text'.
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.
Textpublic org.eclipse.emf.common.notify.Adapter createSceneAdapter()
Scene'.
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.
Scenepublic org.eclipse.emf.common.notify.Adapter createStyleAdapter()
Style'.
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.
Stylepublic org.eclipse.emf.common.notify.Adapter createColorAdapter()
Color'.
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.
Colorpublic org.eclipse.emf.common.notify.Adapter createGestureAdapter()
Gesture'.
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.
Gesturepublic org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Copyright © 2018. All rights reserved.