public class VisualInterfaceAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
VisualInterfacePackage| Modifier and Type | Field and Description |
|---|---|
protected static VisualInterfacePackage |
modelPackage
The cached model package.
|
protected VisualInterfaceSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
| Constructor and Description |
|---|
VisualInterfaceAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createArcAdapter()
Creates a new adapter for an object of class '
Arc'. |
Adapter |
createBorderChildAdapter()
Creates a new adapter for an object of class '
Border Child'. |
Adapter |
createBorderContainerAdapter()
Creates a new adapter for an object of class '
Border Container'. |
Adapter |
createChildAdapter()
Creates a new adapter for an object of class '
Child'. |
Adapter |
createConnectionAdapter()
Creates a new adapter for an object of class '
Connection'. |
Adapter |
createContainerAdapter()
Creates a new adapter for an object of class '
Container'. |
Adapter |
createCursorAdapter()
Creates a new adapter for an object of class '
Cursor'. |
Adapter |
createDimensionAdapter()
Creates a new adapter for an object of class '
Dimension'. |
Adapter |
createEllipseAdapter()
Creates a new adapter for an object of class '
Ellipse'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createFigureAdapter()
Creates a new adapter for an object of class '
Figure'. |
Adapter |
createFigureContainerAdapter()
Creates a new adapter for an object of class '
Figure Container'. |
Adapter |
createGridChildAdapter()
Creates a new adapter for an object of class '
Grid Child'. |
Adapter |
createGridContainerAdapter()
Creates a new adapter for an object of class '
Grid Container'. |
Adapter |
createImageAdapter()
Creates a new adapter for an object of class '
Image'. |
Adapter |
createLineAdapter()
Creates a new adapter for an object of class '
Line'. |
Adapter |
createPositionAdapter()
Creates a new adapter for an object of class '
Position'. |
Adapter |
createPrimitiveAdapter()
Creates a new adapter for an object of class '
Primitive'. |
Adapter |
createRectangleAdapter()
Creates a new adapter for an object of class '
Rectangle'. |
Adapter |
createShapeAdapter()
Creates a new adapter for an object of class '
Shape'. |
Adapter |
createStackContainerAdapter()
Creates a new adapter for an object of class '
Stack Container'. |
Adapter |
createStringToStringMapAdapter()
Creates a new adapter for an object of class '
String To String Map'. |
Adapter |
createSymbolAdapter()
Creates a new adapter for an object of class '
Symbol'. |
Adapter |
createSymbolReferenceAdapter()
Creates a new adapter for an object of class '
Symbol Reference'. |
Adapter |
createSystemCursorAdapter()
Creates a new adapter for an object of class '
System Cursor'. |
Adapter |
createTextAdapter()
Creates a new adapter for an object of class '
Text'. |
Adapter |
createXYChildAdapter()
Creates a new adapter for an object of class '
XY Child'. |
Adapter |
createXYContainerAdapter()
Creates a new adapter for an object of class '
XY Container'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static VisualInterfacePackage modelPackage
protected VisualInterfaceSwitch<Adapter> modelSwitch
createXXX methods.
public VisualInterfaceAdapterFactory()
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target.
target - the object to adapt.target.public Adapter createSymbolAdapter()
Symbol'.
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.
Symbolpublic Adapter createPrimitiveAdapter()
Primitive'.
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.
Primitivepublic Adapter createContainerAdapter()
Container'.
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.
Containerpublic Adapter createShapeAdapter()
Shape'.
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.
Shapepublic 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 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 Adapter createChildAdapter()
Child'.
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.
Childpublic Adapter createXYChildAdapter()
XY Child'.
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.
XYChildpublic Adapter createXYContainerAdapter()
XY Container'.
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.
XYContainerpublic Adapter createPositionAdapter()
Position'.
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.
Positionpublic Adapter createLineAdapter()
Line'.
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.
Linepublic Adapter createFigureAdapter()
Figure'.
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.
Figurepublic Adapter createSymbolReferenceAdapter()
Symbol Reference'.
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.
SymbolReferencepublic Adapter createStringToStringMapAdapter()
String To String 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.
Map.Entrypublic 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 Adapter createCursorAdapter()
Cursor'.
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.
Cursorpublic Adapter createSystemCursorAdapter()
System Cursor'.
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.
SystemCursorpublic Adapter createGridContainerAdapter()
Grid Container'.
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.
GridContainerpublic Adapter createBorderContainerAdapter()
Border Container'.
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.
BorderContainerpublic Adapter createBorderChildAdapter()
Border Child'.
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.
BorderChildpublic Adapter createGridChildAdapter()
Grid Child'.
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.
GridChildpublic Adapter createFigureContainerAdapter()
Figure Container'.
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.
FigureContainerpublic Adapter createImageAdapter()
Image'.
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.
Imagepublic 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 Adapter createArcAdapter()
Arc'.
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.
Arcpublic Adapter createConnectionAdapter()
Connection'.
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.
Connectionpublic Adapter createStackContainerAdapter()
Stack Container'.
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.
StackContainerpublic Adapter createEObjectAdapter()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0