|
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 AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- 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.
Property
public 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.
DiagramElement
public 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.
GraphElement
public 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.
GraphEdge
public 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.
GraphNode
public 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.
GraphConnector
public 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.
Diagram
public 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.
SemanticModelBridge
public 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.
EMFSemanticModelBridge
public 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.
SimpleSemanticModelElement
public 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.
DiagramLink
public 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.
LeafElement
public 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.
TextElement
public 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.
Image
public 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.
GraphicPrimitive
public 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.
Reference
public 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.
Polyline
public 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.
Ellipse
public 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.
EdgeObject
public 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.
EdgeObjectOffset
public 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.
EdgeObjectUV
public 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.