|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.notation.util.NotationSwitch
public class NotationSwitch
The Switch for the model's inheritance hierarchy.
It supports the call doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
NotationPackage
Field Summary | |
---|---|
protected static NotationPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
NotationSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAnchor(Anchor object)
Returns the result of interpreting the object as an instance of 'Anchor' |
java.lang.Object |
caseArrowStyle(ArrowStyle object)
Returns the result of interpreting the object as an instance of 'Arrow Style' |
java.lang.Object |
caseBendpoints(Bendpoints object)
Returns the result of interpreting the object as an instance of 'Bendpoints' |
java.lang.Object |
caseBooleanListValueStyle(BooleanListValueStyle object)
Returns the result of interpreting the object as an instance of 'Boolean List Value Style' |
java.lang.Object |
caseBooleanValueStyle(BooleanValueStyle object)
Returns the result of interpreting the object as an instance of 'Boolean Value Style' |
java.lang.Object |
caseBounds(Bounds object)
Returns the result of interpreting the object as an instance of 'Bounds' |
java.lang.Object |
caseByteArrayValueStyle(ByteArrayValueStyle object)
Returns the result of interpreting the object as an instance of 'Byte Array Value Style' |
java.lang.Object |
caseCanonicalStyle(CanonicalStyle object)
Returns the result of interpreting the object as an instance of 'Canonical Style' |
java.lang.Object |
caseConnectorStyle(ConnectorStyle object)
Returns the result of interpreting the object as an instance of 'Connector Style' |
java.lang.Object |
caseDataTypeStyle(DataTypeStyle object)
Returns the result of interpreting the object as an instance of 'Data Type Style' |
java.lang.Object |
caseDescriptionStyle(DescriptionStyle object)
Returns the result of interpreting the object as an instance of 'Description Style' |
java.lang.Object |
caseDiagram(Diagram object)
Returns the result of interpreting the object as an instance of 'Diagram' |
java.lang.Object |
caseDiagramLinkStyle(DiagramLinkStyle object)
Returns the result of interpreting the object as an instance of 'Diagram Link Style' |
java.lang.Object |
caseDiagramStyle(DiagramStyle object)
Returns the result of interpreting the object as an instance of 'Diagram Style' |
java.lang.Object |
caseDoubleListValueStyle(DoubleListValueStyle object)
Returns the result of interpreting the object as an instance of 'Double List Value Style' |
java.lang.Object |
caseDoubleValueStyle(DoubleValueStyle object)
Returns the result of interpreting the object as an instance of 'Double Value Style' |
java.lang.Object |
caseDrawerStyle(DrawerStyle object)
Returns the result of interpreting the object as an instance of 'Drawer Style' |
java.lang.Object |
caseEdge(Edge object)
Returns the result of interpreting the object as an instance of 'Edge' |
java.lang.Object |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpreting the object as an instance of 'EModel Element' |
java.lang.Object |
caseEObjectListValueStyle(EObjectListValueStyle object)
Returns the result of interpreting the object as an instance of 'EObject List Value Style' |
java.lang.Object |
caseEObjectValueStyle(EObjectValueStyle object)
Returns the result of interpreting the object as an instance of 'EObject Value Style' |
java.lang.Object |
caseFillStyle(FillStyle object)
Returns the result of interpreting the object as an instance of 'Fill Style' |
java.lang.Object |
caseFilteringStyle(FilteringStyle object)
Returns the result of interpreting the object as an instance of 'Filtering Style' |
java.lang.Object |
caseFontStyle(FontStyle object)
Returns the result of interpreting the object as an instance of 'Font Style' |
java.lang.Object |
caseGuide(Guide object)
Returns the result of interpreting the object as an instance of 'Guide' |
java.lang.Object |
caseGuideStyle(GuideStyle object)
Returns the result of interpreting the object as an instance of 'Guide Style' |
java.lang.Object |
caseHintedDiagramLinkStyle(HintedDiagramLinkStyle object)
Returns the result of interpreting the object as an instance of 'Hinted Diagram Link Style' |
java.lang.Object |
caseIdentityAnchor(IdentityAnchor object)
Returns the result of interpreting the object as an instance of 'Identity Anchor' |
java.lang.Object |
caseImage(Image object)
Returns the result of interpreting the object as an instance of 'Image' |
java.lang.Object |
caseImageBufferStyle(ImageBufferStyle object)
Returns the result of interpreting the object as an instance of 'Image Buffer Style' |
java.lang.Object |
caseImageStyle(ImageStyle object)
Returns the result of interpreting the object as an instance of 'Image Style' |
java.lang.Object |
caseIntListValueStyle(IntListValueStyle object)
Returns the result of interpreting the object as an instance of 'Int List Value Style' |
java.lang.Object |
caseIntValueStyle(IntValueStyle object)
Returns the result of interpreting the object as an instance of 'Int Value Style' |
java.lang.Object |
caseLayoutConstraint(LayoutConstraint object)
Returns the result of interpreting the object as an instance of 'Layout Constraint' |
java.lang.Object |
caseLineStyle(LineStyle object)
Returns the result of interpreting the object as an instance of 'Line Style' |
java.lang.Object |
caseLineTypeStyle(LineTypeStyle object)
Returns the result of interpreting the object as an instance of 'Line Type Style' |
java.lang.Object |
caseListValueStyle(ListValueStyle object)
Returns the result of interpreting the object as an instance of 'List Value Style' |
java.lang.Object |
caseLocation(Location object)
Returns the result of interpreting the object as an instance of 'Location' |
java.lang.Object |
caseMultiDiagramLinkStyle(MultiDiagramLinkStyle object)
Returns the result of interpreting the object as an instance of 'Multi Diagram Link Style' |
java.lang.Object |
caseNamedStyle(NamedStyle object)
Returns the result of interpreting the object as an instance of 'Named Style' |
java.lang.Object |
caseNode(Node object)
Returns the result of interpreting the object as an instance of 'Node' |
java.lang.Object |
caseNodeEntry(java.util.Map.Entry object)
Returns the result of interpreting the object as an instance of 'Node Entry' |
java.lang.Object |
casePageStyle(PageStyle object)
Returns the result of interpreting the object as an instance of 'Page Style' |
java.lang.Object |
casePropertiesSetStyle(PropertiesSetStyle object)
Returns the result of interpreting the object as an instance of 'Properties Set Style' |
java.lang.Object |
casePropertyValue(PropertyValue object)
Returns the result of interpreting the object as an instance of 'Property Value' |
java.lang.Object |
caseRatio(Ratio object)
Returns the result of interpreting the object as an instance of 'Ratio' |
java.lang.Object |
caseRelativeBendpoints(RelativeBendpoints object)
Returns the result of interpreting the object as an instance of 'Relative Bendpoints' |
java.lang.Object |
caseRoutingStyle(RoutingStyle object)
Returns the result of interpreting the object as an instance of 'Routing Style' |
java.lang.Object |
caseShapeStyle(ShapeStyle object)
Returns the result of interpreting the object as an instance of 'Shape Style' |
java.lang.Object |
caseSingleValueStyle(SingleValueStyle object)
Returns the result of interpreting the object as an instance of 'Single Value Style' |
java.lang.Object |
caseSize(Size object)
Returns the result of interpreting the object as an instance of 'Size' |
java.lang.Object |
caseSortingStyle(SortingStyle object)
Returns the result of interpreting the object as an instance of 'Sorting Style' |
java.lang.Object |
caseStringListValueStyle(StringListValueStyle object)
Returns the result of interpreting the object as an instance of 'String List Value Style' |
java.lang.Object |
caseStringObjectConverter(StringObjectConverter object)
Returns the result of interpreting the object as an instance of 'String Object Converter' |
java.lang.Object |
caseStringToPropertyValueMapEntry(java.util.Map.Entry object)
Returns the result of interpreting the object as an instance of 'String To Property Value Map Entry' |
java.lang.Object |
caseStringValueStyle(StringValueStyle object)
Returns the result of interpreting the object as an instance of 'String Value Style' |
java.lang.Object |
caseStyle(Style object)
Returns the result of interpreting the object as an instance of 'Style' |
java.lang.Object |
caseTextStyle(TextStyle object)
Returns the result of interpreting the object as an instance of 'Text Style' |
java.lang.Object |
caseTitleStyle(TitleStyle object)
Returns the result of interpreting the object as an instance of 'Title Style' |
java.lang.Object |
caseView(View object)
Returns the result of interpreting the object as an instance of 'View' |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject' |
protected java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected java.lang.Object |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static NotationPackage modelPackage
Constructor Detail |
---|
public NotationSwitch()
Method Detail |
---|
public java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected java.lang.Object doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public java.lang.Object caseEdge(Edge object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNode(Node object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStyle(Style object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFillStyle(FillStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLineStyle(LineStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFontStyle(FontStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTitleStyle(TitleStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSortingStyle(SortingStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDescriptionStyle(DescriptionStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLayoutConstraint(LayoutConstraint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSize(Size object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLocation(Location object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBounds(Bounds object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRatio(Ratio object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAnchor(Anchor object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBendpoints(Bendpoints object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIdentityAnchor(IdentityAnchor object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRoutingStyle(RoutingStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseView(View object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRelativeBendpoints(RelativeBendpoints object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCanonicalStyle(CanonicalStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseShapeStyle(ShapeStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConnectorStyle(ConnectorStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDiagram(Diagram object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseImage(Image object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePageStyle(PageStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDrawerStyle(DrawerStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGuideStyle(GuideStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGuide(Guide object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNodeEntry(java.util.Map.Entry object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFilteringStyle(FilteringStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDiagramStyle(DiagramStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseImageStyle(ImageStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseImageBufferStyle(ImageBufferStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePropertiesSetStyle(PropertiesSetStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStringToPropertyValueMapEntry(java.util.Map.Entry object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePropertyValue(PropertyValue object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSingleValueStyle(SingleValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseListValueStyle(ListValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNamedStyle(NamedStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStringObjectConverter(StringObjectConverter object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataTypeStyle(DataTypeStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIntValueStyle(IntValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIntListValueStyle(IntListValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBooleanValueStyle(BooleanValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDoubleValueStyle(DoubleValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDoubleListValueStyle(DoubleListValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStringValueStyle(StringValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStringListValueStyle(StringListValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEObjectValueStyle(EObjectValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEObjectListValueStyle(EObjectListValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseByteArrayValueStyle(ByteArrayValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBooleanListValueStyle(BooleanListValueStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseHintedDiagramLinkStyle(HintedDiagramLinkStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDiagramLinkStyle(DiagramLinkStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMultiDiagramLinkStyle(MultiDiagramLinkStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTextStyle(TextStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLineTypeStyle(LineTypeStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseArrowStyle(ArrowStyle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
Runtime | |||||||||
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.