|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.gmfgraph.util.GMFGraphSwitch
org.eclipse.gmf.gmfgraph.util.PureGEFFigureQualifiedNameSwitch
org.eclipse.gmf.gmfgraph.util.RuntimeFQNSwitch
FQNSwitch to use with figures utilizing power of GMF Runtime
| Field Summary |
| Fields inherited from class org.eclipse.gmf.gmfgraph.util.GMFGraphSwitch |
modelPackage |
| Constructor Summary | |
RuntimeFQNSwitch()
|
|
| Method Summary | |
java.lang.Object |
caseBorderLayout(BorderLayout object)
Returns the result of interpretting the object as an instance of 'Border Layout' |
java.lang.Object |
caseCustomClass(CustomClass object)
Returns the result of interpretting the object as an instance of 'Custom Class' |
java.lang.Object |
caseEllipse(Ellipse object)
Returns the result of interpretting the object as an instance of 'Ellipse' |
java.lang.Object |
caseFlowLayout(FlowLayout object)
Returns the result of interpretting the object as an instance of 'Flow Layout' |
java.lang.Object |
caseGridLayout(GridLayout object)
Returns the result of interpretting the object as an instance of 'Grid Layout' |
java.lang.Object |
caseGridLayoutData(GridLayoutData object)
Returns the result of interpretting the object as an instance of 'Grid Layout Data' |
java.lang.Object |
caseLabel(Label object)
Returns the result of interpretting the object as an instance of 'Label' |
java.lang.Object |
caseLabeledContainer(LabeledContainer object)
Returns the result of interpretting the object as an instance of 'Labeled Container' |
java.lang.Object |
casePolygon(Polygon object)
Returns the result of interpretting the object as an instance of 'Polygon' |
java.lang.Object |
casePolygonDecoration(PolygonDecoration object)
Returns the result of interpretting the object as an instance of 'Polygon Decoration' |
java.lang.Object |
casePolyline(Polyline object)
Returns the result of interpretting the object as an instance of 'Polyline' |
java.lang.Object |
casePolylineConnection(PolylineConnection object)
Returns the result of interpretting the object as an instance of 'Polyline Connection' |
java.lang.Object |
casePolylineDecoration(PolylineDecoration object)
Returns the result of interpretting the object as an instance of 'Polyline Decoration' |
java.lang.Object |
caseRectangle(Rectangle object)
Returns the result of interpretting the object as an instance of 'Rectangle' |
java.lang.Object |
caseRoundedRectangle(RoundedRectangle object)
Returns the result of interpretting the object as an instance of 'Rounded Rectangle' |
java.lang.Object |
caseStackLayout(StackLayout object)
Returns the result of interpretting the object as an instance of 'Stack Layout' |
java.lang.Object |
caseXYLayout(XYLayout object)
Returns the result of interpretting the object as an instance of 'XY Layout' |
java.lang.Object |
caseXYLayoutData(XYLayoutData object)
Returns the result of interpretting the object as an instance of 'XY Layout Data' |
protected void |
collectDependencies(FigureGallery gallery,
UniqueEList result)
|
java.lang.String |
get(EObject gmfgraphObject)
(XXX) tell about/change behavior with wrong arguments - exception? |
java.lang.String |
get(EObject gmfgraphObject,
ImportAssistant importManager)
Handy addition to PureGEFFigureQualifiedNameSwitch.get(EObject), with return value passed through ImportAssistant.getImportedName(String) |
java.lang.String[] |
getDependencies(FigureGallery gallery)
(XXX) decide whether org.eclipse.draw2d should be included there. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RuntimeFQNSwitch()
| Method Detail |
protected void collectDependencies(FigureGallery gallery,
UniqueEList result)
public java.lang.Object caseGridLayout(GridLayout object)
GMFGraphSwitch
caseGridLayout in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGridLayoutData(GridLayoutData object)
GMFGraphSwitch
caseGridLayoutData in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object casePolylineConnection(PolylineConnection object)
GMFGraphSwitch
public java.lang.Object caseLabel(Label object)
GMFGraphSwitch
public java.lang.String get(EObject gmfgraphObject)
FigureQualifiedNameSwitch
get in interface FigureQualifiedNameSwitchnull if it's not suitable graphical object
public java.lang.String get(EObject gmfgraphObject,
ImportAssistant importManager)
FigureQualifiedNameSwitchFigureQualifiedNameSwitch.get(EObject), with return value passed through ImportAssistant.getImportedName(String)
get in interface FigureQualifiedNameSwitchpublic java.lang.String[] getDependencies(FigureGallery gallery)
FigureQualifiedNameSwitch
getDependencies in interface FigureQualifiedNameSwitchpublic java.lang.Object caseCustomClass(CustomClass object)
GMFGraphSwitch
caseCustomClass in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFlowLayout(FlowLayout object)
GMFGraphSwitch
caseFlowLayout in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseXYLayout(XYLayout object)
GMFGraphSwitch
caseXYLayout in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseXYLayoutData(XYLayoutData object)
GMFGraphSwitch
caseXYLayoutData in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseStackLayout(StackLayout object)
GMFGraphSwitch
caseStackLayout in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseBorderLayout(BorderLayout object)
GMFGraphSwitch
caseBorderLayout in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLabeledContainer(LabeledContainer object)
GMFGraphSwitch
caseLabeledContainer in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseRectangle(Rectangle object)
GMFGraphSwitch
caseRectangle in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseRoundedRectangle(RoundedRectangle object)
GMFGraphSwitch
caseRoundedRectangle in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEllipse(Ellipse object)
GMFGraphSwitch
caseEllipse in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object casePolygon(Polygon object)
GMFGraphSwitch
casePolygon in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object casePolygonDecoration(PolygonDecoration object)
GMFGraphSwitch
casePolygonDecoration in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object casePolyline(Polyline object)
GMFGraphSwitch
casePolyline in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)public java.lang.Object casePolylineDecoration(PolylineDecoration object)
GMFGraphSwitch
casePolylineDecoration in class GMFGraphSwitchobject - the target of the switch.
doSwitch(EObject)
|
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.