public class UmlnotationSwitch
extends java.lang.Object
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.
UmlnotationPackage
Modifier and Type | Field and Description |
---|---|
protected static UmlnotationPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
UmlnotationSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
caseBasicCompartment(org.eclipse.gmf.runtime.notation.BasicCompartment object)
Returns the result of interpreting the object as an instance of 'Basic Compartment'.
|
java.lang.Object |
caseBasicDecorationNode(org.eclipse.gmf.runtime.notation.BasicDecorationNode object)
Returns the result of interpreting the object as an instance of 'Basic Decoration Node'.
|
java.lang.Object |
caseCanonicalStyle(org.eclipse.gmf.runtime.notation.CanonicalStyle object)
Returns the result of interpreting the object as an instance of 'Canonical Style'.
|
java.lang.Object |
caseCompartment(org.eclipse.gmf.runtime.notation.Compartment object)
Returns the result of interpreting the object as an instance of 'Compartment'.
|
java.lang.Object |
caseDecorationNode(org.eclipse.gmf.runtime.notation.DecorationNode object)
Returns the result of interpreting the object as an instance of 'Decoration Node'.
|
java.lang.Object |
caseDescriptionStyle(org.eclipse.gmf.runtime.notation.DescriptionStyle object)
Returns the result of interpreting the object as an instance of 'Description Style'.
|
java.lang.Object |
caseDiagram(org.eclipse.gmf.runtime.notation.Diagram object)
Returns the result of interpreting the object as an instance of 'Diagram'.
|
java.lang.Object |
caseDiagramLayerStyle(DiagramLayerStyle object)
Returns the result of interpreting the object as an instance of 'Diagram Layer Style'.
|
java.lang.Object |
caseDiagramStyle(org.eclipse.gmf.runtime.notation.DiagramStyle object)
Returns the result of interpreting the object as an instance of 'Diagram Style'.
|
java.lang.Object |
caseDrawerStyle(org.eclipse.gmf.runtime.notation.DrawerStyle object)
Returns the result of interpreting the object as an instance of 'Drawer Style'.
|
java.lang.Object |
caseEdge(org.eclipse.gmf.runtime.notation.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 |
caseFillStyle(org.eclipse.gmf.runtime.notation.FillStyle object)
Returns the result of interpreting the object as an instance of 'Fill Style'.
|
java.lang.Object |
caseFilteringStyle(org.eclipse.gmf.runtime.notation.FilteringStyle object)
Returns the result of interpreting the object as an instance of 'Filtering Style'.
|
java.lang.Object |
caseFontStyle(org.eclipse.gmf.runtime.notation.FontStyle object)
Returns the result of interpreting the object as an instance of 'Font Style'.
|
java.lang.Object |
caseGraphCompartment(GraphCompartment object)
Returns the result of interpreting the object as an instance of 'Graph Compartment'.
|
java.lang.Object |
caseGuideStyle(org.eclipse.gmf.runtime.notation.GuideStyle object)
Returns the result of interpreting the object as an instance of 'Guide Style'.
|
java.lang.Object |
caseLayoutStyle(LayoutStyle object)
Returns the result of interpreting the object as an instance of 'Layout Style'.
|
java.lang.Object |
caseLineStyle(org.eclipse.gmf.runtime.notation.LineStyle object)
Returns the result of interpreting the object as an instance of 'Line Style'.
|
java.lang.Object |
caseNode(org.eclipse.gmf.runtime.notation.Node object)
Returns the result of interpreting the object as an instance of 'Node'.
|
java.lang.Object |
caseOffsetConstraintConnector(OffsetConstraintConnector object)
Returns the result of interpreting the object as an instance of 'Offset Constraint Connector'.
|
java.lang.Object |
casePageStyle(org.eclipse.gmf.runtime.notation.PageStyle object)
Returns the result of interpreting the object as an instance of 'Page Style'.
|
java.lang.Object |
caseRMPDiagram(RMPDiagram object)
Returns the result of interpreting the object as an instance of 'RMP Diagram'.
|
java.lang.Object |
caseRoundedCornersStyle(org.eclipse.gmf.runtime.notation.RoundedCornersStyle object)
Returns the result of interpreting the object as an instance of 'Rounded Corners Style'.
|
java.lang.Object |
caseRoutingStyle(org.eclipse.gmf.runtime.notation.RoutingStyle object)
Returns the result of interpreting the object as an instance of 'Routing Style'.
|
java.lang.Object |
caseSortingStyle(org.eclipse.gmf.runtime.notation.SortingStyle object)
Returns the result of interpreting the object as an instance of 'Sorting Style'.
|
java.lang.Object |
caseStandardDiagram(org.eclipse.gmf.runtime.notation.StandardDiagram object)
Returns the result of interpreting the object as an instance of 'Standard Diagram'.
|
java.lang.Object |
caseStyle(org.eclipse.gmf.runtime.notation.Style object)
Returns the result of interpreting the object as an instance of 'Style'.
|
java.lang.Object |
caseTitleStyle(org.eclipse.gmf.runtime.notation.TitleStyle object)
Returns the result of interpreting the object as an instance of 'Title Style'.
|
java.lang.Object |
caseUMLCallInteractionActionNode(UMLCallInteractionActionNode object)
Returns the result of interpreting the object as an instance of 'UML Call Interaction Action Node'.
|
java.lang.Object |
caseUMLCallInteractionActionStyle(UMLCallInteractionActionStyle object)
Returns the result of interpreting the object as an instance of 'UML Call Interaction Action Style'.
|
java.lang.Object |
caseUMLClassifierShape(UMLClassifierShape object)
Returns the result of interpreting the object as an instance of 'UML Classifier Shape'.
|
java.lang.Object |
caseUMLClassifierStyle(UMLClassifierStyle object)
Returns the result of interpreting the object as an instance of 'UML Classifier Style'.
|
java.lang.Object |
caseUMLComponent(UMLComponent object)
Returns the result of interpreting the object as an instance of 'UML Component'.
|
java.lang.Object |
caseUMLComponentStyle(UMLComponentStyle object)
Returns the result of interpreting the object as an instance of 'UML Component Style'.
|
java.lang.Object |
caseUMLConnector(UMLConnector object)
Returns the result of interpreting the object as an instance of 'UML Connector'.
|
java.lang.Object |
caseUMLConnectorStyle(UMLConnectorStyle object)
Returns the result of interpreting the object as an instance of 'UML Connector Style'.
|
java.lang.Object |
caseUMLDiagram(UMLDiagram object)
Returns the result of interpreting the object as an instance of 'UML Diagram'.
|
java.lang.Object |
caseUMLDiagramStyle(UMLDiagramStyle object)
Returns the result of interpreting the object as an instance of 'UML Diagram Style'.
|
java.lang.Object |
caseUMLFrame(UMLFrame object)
Returns the result of interpreting the object as an instance of 'UML Frame'.
|
java.lang.Object |
caseUMLFrameStyle(UMLFrameStyle object)
Returns the result of interpreting the object as an instance of 'UML Frame Style'.
|
java.lang.Object |
caseUMLListCompartmentStyle(UMLListCompartmentStyle object)
Returns the result of interpreting the object as an instance of 'UML List Compartment Style'.
|
java.lang.Object |
caseUMLListStyle(UMLListStyle object)
Returns the result of interpreting the object as an instance of 'UML List Style'.
|
java.lang.Object |
caseUMLNameStyle(UMLNameStyle object)
Returns the result of interpreting the object as an instance of 'UML Name Style'.
|
java.lang.Object |
caseUMLParentStyle(UMLParentStyle object)
Returns the result of interpreting the object as an instance of 'UML Parent Style'.
|
java.lang.Object |
caseUMLShape(UMLShape object)
Returns the result of interpreting the object as an instance of 'UML Shape'.
|
java.lang.Object |
caseUMLShapeCompartment(UMLShapeCompartment object)
Returns the result of interpreting the object as an instance of 'UML Shape Compartment'.
|
java.lang.Object |
caseUMLShapeCompartmentStyle(UMLShapeCompartmentStyle object)
Returns the result of interpreting the object as an instance of 'UML Shape Compartment Style'.
|
java.lang.Object |
caseUMLShapeStyle(UMLShapeStyle object)
Returns the result of interpreting the object as an instance of 'UML Shape Style'.
|
java.lang.Object |
caseUMLStereotypeAttributeCompartmentStyle(UMLStereotypeAttributeCompartmentStyle object)
Returns the result of interpreting the object as an instance of 'UML Stereotype Attribute Compartment Style'.
|
java.lang.Object |
caseUMLStereotypeStyle(UMLStereotypeStyle object)
Returns the result of interpreting the object as an instance of 'UML Stereotype Style'.
|
java.lang.Object |
caseUMLTimingLifelineNode(UMLTimingLifelineNode object)
Returns the result of interpreting the object as an instance of 'UML Timing Lifeline Node'.
|
java.lang.Object |
caseUMLTimingNumericalRulerStyle(UMLTimingNumericalRulerStyle object)
Returns the result of interpreting the object as an instance of 'UML Timing Numerical Ruler Style'.
|
java.lang.Object |
caseUMLTimingRuler(UMLTimingRuler object)
Returns the result of interpreting the object as an instance of 'UML Timing Ruler'.
|
java.lang.Object |
caseView(org.eclipse.gmf.runtime.notation.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. |
protected static UmlnotationPackage modelPackage
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 caseUMLNameStyle(UMLNameStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLStereotypeStyle(UMLStereotypeStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLStereotypeAttributeCompartmentStyle(UMLStereotypeAttributeCompartmentStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLParentStyle(UMLParentStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLCallInteractionActionStyle(UMLCallInteractionActionStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLShape(UMLShape object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLClassifierShape(UMLClassifierShape object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLFrame(UMLFrame object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLComponent(UMLComponent object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLDiagram(UMLDiagram object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLConnector(UMLConnector object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLCallInteractionActionNode(UMLCallInteractionActionNode object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLShapeCompartment(UMLShapeCompartment object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLTimingRuler(UMLTimingRuler object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLTimingLifelineNode(UMLTimingLifelineNode object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLTimingNumericalRulerStyle(UMLTimingNumericalRulerStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseOffsetConstraintConnector(OffsetConstraintConnector object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLShapeStyle(UMLShapeStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLClassifierStyle(UMLClassifierStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLListStyle(UMLListStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLComponentStyle(UMLComponentStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLDiagramStyle(UMLDiagramStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLFrameStyle(UMLFrameStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLConnectorStyle(UMLConnectorStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLListCompartmentStyle(UMLListCompartmentStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseUMLShapeCompartmentStyle(UMLShapeCompartmentStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseStyle(org.eclipse.gmf.runtime.notation.Style object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseFontStyle(org.eclipse.gmf.runtime.notation.FontStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseFillStyle(org.eclipse.gmf.runtime.notation.FillStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseLineStyle(org.eclipse.gmf.runtime.notation.LineStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseRoundedCornersStyle(org.eclipse.gmf.runtime.notation.RoundedCornersStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object casePageStyle(org.eclipse.gmf.runtime.notation.PageStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseGuideStyle(org.eclipse.gmf.runtime.notation.GuideStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDescriptionStyle(org.eclipse.gmf.runtime.notation.DescriptionStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDiagramStyle(org.eclipse.gmf.runtime.notation.DiagramStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDiagramLayerStyle(DiagramLayerStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseCanonicalStyle(org.eclipse.gmf.runtime.notation.CanonicalStyle 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 caseView(org.eclipse.gmf.runtime.notation.View object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseNode(org.eclipse.gmf.runtime.notation.Node object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDiagram(org.eclipse.gmf.runtime.notation.Diagram object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseStandardDiagram(org.eclipse.gmf.runtime.notation.StandardDiagram object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseLayoutStyle(LayoutStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseRMPDiagram(RMPDiagram object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseEdge(org.eclipse.gmf.runtime.notation.Edge object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseCompartment(org.eclipse.gmf.runtime.notation.Compartment object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseGraphCompartment(GraphCompartment object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseBasicDecorationNode(org.eclipse.gmf.runtime.notation.BasicDecorationNode object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDecorationNode(org.eclipse.gmf.runtime.notation.DecorationNode object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseBasicCompartment(org.eclipse.gmf.runtime.notation.BasicCompartment object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseRoutingStyle(org.eclipse.gmf.runtime.notation.RoutingStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseFilteringStyle(org.eclipse.gmf.runtime.notation.FilteringStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseSortingStyle(org.eclipse.gmf.runtime.notation.SortingStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseDrawerStyle(org.eclipse.gmf.runtime.notation.DrawerStyle object)
object
- the target of the switch.doSwitch(EObject)
public java.lang.Object caseTitleStyle(org.eclipse.gmf.runtime.notation.TitleStyle 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)