|
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 AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - 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.
Canvaspublic 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.
FigureGallerypublic 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.
Identitypublic 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 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.
AbstractNodepublic 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.
Nodepublic 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.
ChildAccesspublic 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.
RealFigurepublic 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 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.
Compartmentpublic 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.
DiagramLabelpublic 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.
VisualFacetpublic 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.
GeneralFacetpublic 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.
AlignmentFacetpublic 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.
GradientFacetpublic 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.
LabelOffsetFacetpublic 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.
DefaultSizeFacetpublic 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 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.
FigureDescriptorpublic 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.
AbstractFigurepublic 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.
FigureRefpublic 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.
ConnectionFigurepublic 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.
DecorationFigurepublic 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 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.
Labelpublic 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.
LabeledContainerpublic 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 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 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 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 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.
Polygonpublic 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.
ScalablePolygonpublic 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.
PolylineConnectionpublic 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.
PolylineDecorationpublic 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.
PolygonDecorationpublic 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.
CustomClasspublic 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.
CustomFigurepublic 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.
CustomDecorationpublic 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.
CustomConnectionpublic 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 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.
RGBColorpublic 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.
ConstantColorpublic 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.
Fontpublic 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.
BasicFontpublic 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 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 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.
Insetspublic 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.
Borderpublic 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.
LineBorderpublic 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.
MarginBorderpublic 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.
CompoundBorderpublic 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.
CustomBorderpublic 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.
LayoutDatapublic 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.
CustomLayoutDatapublic 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.
GridLayoutDatapublic 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.
BorderLayoutDatapublic 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.
Layoutablepublic 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.
Layoutpublic 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.
CustomLayoutpublic 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.
GridLayoutpublic 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.
BorderLayoutpublic 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.
CustomAttributepublic 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.
FigureAccessorpublic 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.
FlowLayoutpublic 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.
XYLayoutpublic 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.
XYLayoutDatapublic 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.
StackLayoutpublic 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.