|
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<java.lang.String>
org.eclipse.gmf.gmfgraph.util.RuntimeFQNSwitch
public class 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.String |
caseBorderLayout(BorderLayout object)
Returns the result of interpretting the object as an instance of 'Border Layout' |
java.lang.String |
caseCustomClass(CustomClass object)
Returns the result of interpretting the object as an instance of 'Custom Class' |
java.lang.String |
caseEllipse(Ellipse object)
Returns the result of interpretting the object as an instance of 'Ellipse' |
java.lang.String |
caseFlowLayout(FlowLayout object)
Returns the result of interpretting the object as an instance of 'Flow Layout' |
java.lang.String |
caseGridLayout(GridLayout object)
Returns the result of interpretting the object as an instance of 'Grid Layout' |
java.lang.String |
caseGridLayoutData(GridLayoutData object)
Returns the result of interpretting the object as an instance of 'Grid Layout Data' |
java.lang.String |
caseLabel(Label object)
Returns the result of interpretting the object as an instance of 'Label' |
java.lang.String |
caseLabeledContainer(LabeledContainer object)
Returns the result of interpretting the object as an instance of 'Labeled Container' |
java.lang.String |
casePolygon(Polygon object)
Returns the result of interpretting the object as an instance of 'Polygon' |
java.lang.String |
casePolygonDecoration(PolygonDecoration object)
Returns the result of interpretting the object as an instance of 'Polygon Decoration' |
java.lang.String |
casePolyline(Polyline object)
Returns the result of interpretting the object as an instance of 'Polyline' |
java.lang.String |
casePolylineConnection(PolylineConnection object)
Returns the result of interpretting the object as an instance of 'Polyline Connection' |
java.lang.String |
casePolylineDecoration(PolylineDecoration object)
Returns the result of interpretting the object as an instance of 'Polyline Decoration' |
java.lang.String |
caseRectangle(Rectangle object)
Returns the result of interpretting the object as an instance of 'Rectangle' |
java.lang.String |
caseRoundedRectangle(RoundedRectangle object)
Returns the result of interpretting the object as an instance of 'Rounded Rectangle' |
java.lang.String |
caseScalablePolygon(ScalablePolygon object)
Returns the result of interpretting the object as an instance of 'Scalable Polygon' |
java.lang.String |
caseStackLayout(StackLayout object)
Returns the result of interpretting the object as an instance of 'Stack Layout' |
java.lang.String |
caseXYLayout(XYLayout object)
Returns the result of interpretting the object as an instance of 'XY Layout' |
java.lang.String |
caseXYLayoutData(XYLayoutData object)
Returns the result of interpretting the object as an instance of 'XY Layout Data' |
protected void |
collectDependencies(FigureGallery gallery,
UniqueEList<java.lang.String> 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 FigureQualifiedNameSwitch.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<java.lang.String> result)
public java.lang.String casePolylineConnection(PolylineConnection object)
GMFGraphSwitch
object - the target of the switch.
doSwitch(EObject)public java.lang.String caseLabel(Label object)
GMFGraphSwitch
object - the target of the switch.
doSwitch(EObject)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.String caseCustomClass(CustomClass object)
GMFGraphSwitch
caseCustomClass in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseFlowLayout(FlowLayout object)
GMFGraphSwitch
caseFlowLayout in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseXYLayout(XYLayout object)
GMFGraphSwitch
caseXYLayout in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseXYLayoutData(XYLayoutData object)
GMFGraphSwitch
caseXYLayoutData in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseStackLayout(StackLayout object)
GMFGraphSwitch
caseStackLayout in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseBorderLayout(BorderLayout object)
GMFGraphSwitch
caseBorderLayout in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseLabeledContainer(LabeledContainer object)
GMFGraphSwitch
caseLabeledContainer in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseRectangle(Rectangle object)
GMFGraphSwitch
caseRectangle in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseRoundedRectangle(RoundedRectangle object)
GMFGraphSwitch
caseRoundedRectangle in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseEllipse(Ellipse object)
GMFGraphSwitch
caseEllipse in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String casePolygon(Polygon object)
GMFGraphSwitch
casePolygon in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseScalablePolygon(ScalablePolygon object)
GMFGraphSwitch
caseScalablePolygon in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String casePolygonDecoration(PolygonDecoration object)
GMFGraphSwitch
casePolygonDecoration in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String casePolyline(Polyline object)
GMFGraphSwitch
casePolyline in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String casePolylineDecoration(PolylineDecoration object)
GMFGraphSwitch
casePolylineDecoration in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseGridLayout(GridLayout object)
GMFGraphSwitch
caseGridLayout in class GMFGraphSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseGridLayoutData(GridLayoutData object)
GMFGraphSwitch
caseGridLayoutData in class GMFGraphSwitch<java.lang.String>object - 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.