|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.topcased.modeler.di.model.util.DiagramInterchangeAdapterFactory
public class DiagramInterchangeAdapterFactory
The Adapter Factory for the model. It provides an adapter createXXX
method for each class of the model.
DiagramInterchangePackage| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
protected static DiagramInterchangePackage |
modelPackage
The cached model package. |
protected DiagramInterchangeSwitch<Adapter> |
modelSwitch
The switch the delegates to the createXXX methods. |
| Constructor Summary | |
|---|---|
DiagramInterchangeAdapterFactory()
Creates an instance of the adapter factory. |
|
| Method Summary | |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target. |
Adapter |
createDiagramAdapter()
Creates a new adapter for an object of class ' Diagram'. |
Adapter |
createDiagramElementAdapter()
Creates a new adapter for an object of class ' Diagram Element'. |
Adapter |
createDiagramLinkAdapter()
Creates a new adapter for an object of class ' Diagram Link'. |
Adapter |
createEdgeObjectAdapter()
Creates a new adapter for an object of class ' Edge Object'. |
Adapter |
createEdgeObjectOffsetAdapter()
Creates a new adapter for an object of class ' Edge Object Offset'. |
Adapter |
createEdgeObjectUVAdapter()
Creates a new adapter for an object of class ' Edge Object UV'. |
Adapter |
createEllipseAdapter()
Creates a new adapter for an object of class ' Ellipse'. |
Adapter |
createEMFSemanticModelBridgeAdapter()
Creates a new adapter for an object of class ' EMF Semantic Model Bridge'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createGraphConnectorAdapter()
Creates a new adapter for an object of class ' Graph Connector'. |
Adapter |
createGraphEdgeAdapter()
Creates a new adapter for an object of class ' Graph Edge'. |
Adapter |
createGraphElementAdapter()
Creates a new adapter for an object of class ' Graph Element'. |
Adapter |
createGraphicPrimitiveAdapter()
Creates a new adapter for an object of class ' Graphic Primitive'. |
Adapter |
createGraphNodeAdapter()
Creates a new adapter for an object of class ' Graph Node'. |
Adapter |
createImageAdapter()
Creates a new adapter for an object of class ' Image'. |
Adapter |
createLeafElementAdapter()
Creates a new adapter for an object of class ' Leaf Element'. |
Adapter |
createPolylineAdapter()
Creates a new adapter for an object of class ' Polyline'. |
Adapter |
createPropertyAdapter()
Creates a new adapter for an object of class ' Property'. |
Adapter |
createReferenceAdapter()
Creates a new adapter for an object of class ' Reference'. |
Adapter |
createSemanticModelBridgeAdapter()
Creates a new adapter for an object of class ' Semantic Model Bridge'. |
Adapter |
createSimpleSemanticModelElementAdapter()
Creates a new adapter for an object of class ' Simple Semantic Model Element'. |
Adapter |
createTextElementAdapter()
Creates a new adapter for an object of class ' Text Element'. |
boolean |
isFactoryForType(java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
protected static DiagramInterchangePackage modelPackage
protected DiagramInterchangeSwitch<Adapter> modelSwitch
createXXX methods.
| Constructor Detail |
|---|
public DiagramInterchangeAdapterFactory()
| Method Detail |
|---|
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.
isFactoryForType in interface AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - the object to adapt.
target.public Adapter createPropertyAdapter()
Property'.
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.
Propertypublic Adapter createDiagramElementAdapter()
Diagram 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.
DiagramElementpublic Adapter createGraphElementAdapter()
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.
GraphElementpublic Adapter createGraphEdgeAdapter()
Graph Edge'.
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.
GraphEdgepublic Adapter createGraphNodeAdapter()
Graph 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.
GraphNodepublic Adapter createGraphConnectorAdapter()
Graph Connector'.
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.
GraphConnectorpublic Adapter createDiagramAdapter()
Diagram'.
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.
Diagrampublic Adapter createSemanticModelBridgeAdapter()
Semantic Model Bridge'.
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.
SemanticModelBridgepublic Adapter createEMFSemanticModelBridgeAdapter()
EMF Semantic Model Bridge'.
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.
EMFSemanticModelBridgepublic Adapter createSimpleSemanticModelElementAdapter()
Simple Semantic Model 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.
SimpleSemanticModelElementpublic Adapter createDiagramLinkAdapter()
Diagram Link'.
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.
DiagramLinkpublic Adapter createLeafElementAdapter()
Leaf 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.
LeafElementpublic Adapter createTextElementAdapter()
Text 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.
TextElementpublic 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 createGraphicPrimitiveAdapter()
Graphic 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.
GraphicPrimitivepublic Adapter createReferenceAdapter()
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.
Referencepublic 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 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 createEdgeObjectAdapter()
Edge Object'.
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.
EdgeObjectpublic Adapter createEdgeObjectOffsetAdapter()
Edge Object Offset'.
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.
EdgeObjectOffsetpublic Adapter createEdgeObjectUVAdapter()
Edge Object UV'.
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.
EdgeObjectUVpublic Adapter createEObjectAdapter()
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.