|
Generation Framework | |||||||||
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.eclipse.gmf.gmfgraph.util.GMFGraphAdapterFactory
public class GMFGraphAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
GMFGraphPackage
Field Summary | |
---|---|
protected static GMFGraphPackage |
modelPackage
The cached model package |
protected GMFGraphSwitch<Adapter> |
modelSwitch
The switch the delegates to the createXXX methods |
Constructor Summary | |
---|---|
GMFGraphAdapterFactory()
Creates an instance of the adapter factory |
Method Summary | |
---|---|
Adapter |
createAbstractFigureAdapter()
Creates a new adapter for an object of class ' Abstract Figure ' |
Adapter |
createAbstractNodeAdapter()
Creates a new adapter for an object of class ' Abstract Node ' |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target |
Adapter |
createAlignmentFacetAdapter()
Creates a new adapter for an object of class ' Alignment Facet ' |
Adapter |
createBasicFontAdapter()
Creates a new adapter for an object of class ' Basic Font ' |
Adapter |
createBorderAdapter()
Creates a new adapter for an object of class ' Border ' |
Adapter |
createBorderLayoutAdapter()
Creates a new adapter for an object of class ' Border Layout ' |
Adapter |
createBorderLayoutDataAdapter()
Creates a new adapter for an object of class ' Border Layout Data ' |
Adapter |
createCanvasAdapter()
Creates a new adapter for an object of class ' Canvas ' |
Adapter |
createChildAccessAdapter()
Creates a new adapter for an object of class ' Child Access ' |
Adapter |
createColorAdapter()
Creates a new adapter for an object of class ' Color ' |
Adapter |
createCompartmentAdapter()
Creates a new adapter for an object of class ' Compartment ' |
Adapter |
createCompoundBorderAdapter()
Creates a new adapter for an object of class ' Compound Border ' |
Adapter |
createConnectionAdapter()
Creates a new adapter for an object of class ' Connection ' |
Adapter |
createConnectionFigureAdapter()
Creates a new adapter for an object of class ' Connection Figure ' |
Adapter |
createConstantColorAdapter()
Creates a new adapter for an object of class ' Constant Color ' |
Adapter |
createCustomAttributeAdapter()
Creates a new adapter for an object of class ' Custom Attribute ' |
Adapter |
createCustomBorderAdapter()
Creates a new adapter for an object of class ' Custom Border ' |
Adapter |
createCustomClassAdapter()
Creates a new adapter for an object of class ' Custom Class ' |
Adapter |
createCustomConnectionAdapter()
Creates a new adapter for an object of class ' Custom Connection ' |
Adapter |
createCustomDecorationAdapter()
Creates a new adapter for an object of class ' Custom Decoration ' |
Adapter |
createCustomFigureAdapter()
Creates a new adapter for an object of class ' Custom Figure ' |
Adapter |
createCustomLayoutAdapter()
Creates a new adapter for an object of class ' Custom Layout ' |
Adapter |
createCustomLayoutDataAdapter()
Creates a new adapter for an object of class ' Custom Layout Data ' |
Adapter |
createDecorationFigureAdapter()
Creates a new adapter for an object of class ' Decoration Figure ' |
Adapter |
createDefaultSizeFacetAdapter()
Creates a new adapter for an object of class ' Default Size Facet ' |
Adapter |
createDiagramElementAdapter()
Creates a new adapter for an object of class ' Diagram Element ' |
Adapter |
createDiagramLabelAdapter()
Creates a new adapter for an object of class ' Diagram Label ' |
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 |
createFigureAccessorAdapter()
Creates a new adapter for an object of class ' Figure Accessor ' |
Adapter |
createFigureAdapter()
Creates a new adapter for an object of class ' Figure ' |
Adapter |
createFigureDescriptorAdapter()
Creates a new adapter for an object of class ' Figure Descriptor ' |
Adapter |
createFigureGalleryAdapter()
Creates a new adapter for an object of class ' Figure Gallery ' |
Adapter |
createFigureRefAdapter()
Creates a new adapter for an object of class ' Figure Ref ' |
Adapter |
createFlowLayoutAdapter()
Creates a new adapter for an object of class ' Flow Layout ' |
Adapter |
createFontAdapter()
Creates a new adapter for an object of class ' Font ' |
Adapter |
createGeneralFacetAdapter()
Creates a new adapter for an object of class ' General Facet ' |
Adapter |
createGradientFacetAdapter()
Creates a new adapter for an object of class ' Gradient Facet ' |
Adapter |
createGridLayoutAdapter()
Creates a new adapter for an object of class ' Grid Layout ' |
Adapter |
createGridLayoutDataAdapter()
Creates a new adapter for an object of class ' Grid Layout Data ' |
Adapter |
createIdentityAdapter()
Creates a new adapter for an object of class ' Identity ' |
Adapter |
createInsetsAdapter()
Creates a new adapter for an object of class ' Insets ' |
Adapter |
createLabelAdapter()
Creates a new adapter for an object of class ' Label ' |
Adapter |
createLabeledContainerAdapter()
Creates a new adapter for an object of class ' Labeled Container ' |
Adapter |
createLabelOffsetFacetAdapter()
Creates a new adapter for an object of class ' Label Offset Facet ' |
Adapter |
createLayoutableAdapter()
Creates a new adapter for an object of class ' Layoutable ' |
Adapter |
createLayoutAdapter()
Creates a new adapter for an object of class ' Layout ' |
Adapter |
createLayoutDataAdapter()
Creates a new adapter for an object of class ' Layout Data ' |
Adapter |
createLineBorderAdapter()
Creates a new adapter for an object of class ' Line Border ' |
Adapter |
createMarginBorderAdapter()
Creates a new adapter for an object of class ' Margin Border ' |
Adapter |
createNodeAdapter()
Creates a new adapter for an object of class ' Node ' |
Adapter |
createPointAdapter()
Creates a new adapter for an object of class ' Point ' |
Adapter |
createPolygonAdapter()
Creates a new adapter for an object of class ' Polygon ' |
Adapter |
createPolygonDecorationAdapter()
Creates a new adapter for an object of class ' Polygon Decoration ' |
Adapter |
createPolylineAdapter()
Creates a new adapter for an object of class ' Polyline ' |
Adapter |
createPolylineConnectionAdapter()
Creates a new adapter for an object of class ' Polyline Connection ' |
Adapter |
createPolylineDecorationAdapter()
Creates a new adapter for an object of class ' Polyline Decoration ' |
Adapter |
createRealFigureAdapter()
Creates a new adapter for an object of class ' Real Figure ' |
Adapter |
createRectangleAdapter()
Creates a new adapter for an object of class ' Rectangle ' |
Adapter |
createRGBColorAdapter()
Creates a new adapter for an object of class ' RGB Color ' |
Adapter |
createRoundedRectangleAdapter()
Creates a new adapter for an object of class ' Rounded Rectangle ' |
Adapter |
createScalablePolygonAdapter()
Creates a new adapter for an object of class ' Scalable Polygon ' |
Adapter |
createShapeAdapter()
Creates a new adapter for an object of class ' Shape ' |
Adapter |
createStackLayoutAdapter()
Creates a new adapter for an object of class ' Stack Layout ' |
Adapter |
createVisualFacetAdapter()
Creates a new adapter for an object of class ' Visual Facet ' |
Adapter |
createXYLayoutAdapter()
Creates a new adapter for an object of class ' XY Layout ' |
Adapter |
createXYLayoutDataAdapter()
Creates a new adapter for an object of class ' XY Layout Data ' |
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 |
---|
protected static GMFGraphPackage modelPackage
protected GMFGraphSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public GMFGraphAdapterFactory()
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 createCanvasAdapter()
Canvas
'.
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.
Canvas
public Adapter createFigureGalleryAdapter()
Figure Gallery
'.
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.
FigureGallery
public Adapter createIdentityAdapter()
Identity
'.
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.
Identity
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 createAbstractNodeAdapter()
Abstract 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.
AbstractNode
public Adapter createNodeAdapter()
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.
Node
public Adapter createChildAccessAdapter()
Child Access
'.
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.
ChildAccess
public Adapter createRealFigureAdapter()
Real 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.
RealFigure
public 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.
Connection
public Adapter createCompartmentAdapter()
Compartment
'.
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.
Compartment
public Adapter createDiagramLabelAdapter()
Diagram Label
'.
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.
DiagramLabel
public Adapter createVisualFacetAdapter()
Visual Facet
'.
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.
VisualFacet
public Adapter createGeneralFacetAdapter()
General Facet
'.
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.
GeneralFacet
public Adapter createAlignmentFacetAdapter()
Alignment Facet
'.
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.
AlignmentFacet
public Adapter createGradientFacetAdapter()
Gradient Facet
'.
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.
GradientFacet
public Adapter createLabelOffsetFacetAdapter()
Label Offset Facet
'.
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.
LabelOffsetFacet
public Adapter createDefaultSizeFacetAdapter()
Default Size Facet
'.
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.
DefaultSizeFacet
public 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.
Figure
public Adapter createFigureDescriptorAdapter()
Figure Descriptor
'.
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.
FigureDescriptor
public Adapter createAbstractFigureAdapter()
Abstract 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.
AbstractFigure
public Adapter createFigureRefAdapter()
Figure Ref
'.
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.
FigureRef
public Adapter createConnectionFigureAdapter()
Connection 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.
ConnectionFigure
public Adapter createDecorationFigureAdapter()
Decoration 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.
DecorationFigure
public 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.
Shape
public Adapter createLabelAdapter()
Label
'.
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.
Label
public Adapter createLabeledContainerAdapter()
Labeled 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.
LabeledContainer
public 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.
Rectangle
public 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.
RoundedRectangle
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 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 createPolygonAdapter()
Polygon
'.
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.
Polygon
public Adapter createScalablePolygonAdapter()
Scalable Polygon
'.
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.
ScalablePolygon
public Adapter createPolylineConnectionAdapter()
Polyline 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.
PolylineConnection
public Adapter createPolylineDecorationAdapter()
Polyline Decoration
'.
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.
PolylineDecoration
public Adapter createPolygonDecorationAdapter()
Polygon Decoration
'.
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.
PolygonDecoration
public Adapter createCustomClassAdapter()
Custom Class
'.
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.
CustomClass
public Adapter createCustomFigureAdapter()
Custom 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.
CustomFigure
public Adapter createCustomDecorationAdapter()
Custom Decoration
'.
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.
CustomDecoration
public Adapter createCustomConnectionAdapter()
Custom 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.
CustomConnection
public 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.
Color
public Adapter createRGBColorAdapter()
RGB 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.
RGBColor
public Adapter createConstantColorAdapter()
Constant 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.
ConstantColor
public Adapter createFontAdapter()
Font
'.
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.
Font
public Adapter createBasicFontAdapter()
Basic Font
'.
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.
BasicFont
public 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.
Point
public 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.
Dimension
public Adapter createInsetsAdapter()
Insets
'.
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.
Insets
public Adapter createBorderAdapter()
Border
'.
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.
Border
public Adapter createLineBorderAdapter()
Line Border
'.
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.
LineBorder
public Adapter createMarginBorderAdapter()
Margin Border
'.
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.
MarginBorder
public Adapter createCompoundBorderAdapter()
Compound Border
'.
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.
CompoundBorder
public Adapter createCustomBorderAdapter()
Custom Border
'.
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.
CustomBorder
public Adapter createLayoutDataAdapter()
Layout 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.
LayoutData
public Adapter createCustomLayoutDataAdapter()
Custom Layout 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.
CustomLayoutData
public Adapter createGridLayoutDataAdapter()
Grid Layout 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.
GridLayoutData
public Adapter createBorderLayoutDataAdapter()
Border Layout 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.
BorderLayoutData
public Adapter createLayoutableAdapter()
Layoutable
'.
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.
Layoutable
public Adapter createLayoutAdapter()
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.
Layout
public Adapter createCustomLayoutAdapter()
Custom 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.
CustomLayout
public Adapter createGridLayoutAdapter()
Grid 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.
GridLayout
public Adapter createBorderLayoutAdapter()
Border 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.
BorderLayout
public Adapter createCustomAttributeAdapter()
Custom Attribute
'.
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.
CustomAttribute
public Adapter createFigureAccessorAdapter()
Figure Accessor
'.
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.
FigureAccessor
public Adapter createFlowLayoutAdapter()
Flow 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.
FlowLayout
public Adapter createXYLayoutAdapter()
XY 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.
XYLayout
public Adapter createXYLayoutDataAdapter()
XY Layout 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.
XYLayoutData
public Adapter createStackLayoutAdapter()
Stack 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.
StackLayout
public Adapter createEObjectAdapter()
|
Generation Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.