diff options
Diffstat (limited to 'Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util')
-rw-r--r-- | Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java | 18 | ||||
-rw-r--r-- | Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java | 22 |
2 files changed, 40 insertions, 0 deletions
diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java index 86568e9d..9c5c8d2d 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java | |||
@@ -84,6 +84,10 @@ public class Modes3AdapterFactory extends AdapterFactoryImpl { | |||
84 | return createTrainAdapter(); | 84 | return createTrainAdapter(); |
85 | } | 85 | } |
86 | @Override | 86 | @Override |
87 | public Adapter caseSimpleSegment(SimpleSegment object) { | ||
88 | return createSimpleSegmentAdapter(); | ||
89 | } | ||
90 | @Override | ||
87 | public Adapter defaultCase(EObject object) { | 91 | public Adapter defaultCase(EObject object) { |
88 | return createEObjectAdapter(); | 92 | return createEObjectAdapter(); |
89 | } | 93 | } |
@@ -160,6 +164,20 @@ public class Modes3AdapterFactory extends AdapterFactoryImpl { | |||
160 | } | 164 | } |
161 | 165 | ||
162 | /** | 166 | /** |
167 | * Creates a new adapter for an object of class '{@link modes3.SimpleSegment <em>Simple Segment</em>}'. | ||
168 | * <!-- begin-user-doc --> | ||
169 | * This default implementation returns null so that we can easily ignore cases; | ||
170 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
171 | * <!-- end-user-doc --> | ||
172 | * @return the new adapter. | ||
173 | * @see modes3.SimpleSegment | ||
174 | * @generated | ||
175 | */ | ||
176 | public Adapter createSimpleSegmentAdapter() { | ||
177 | return null; | ||
178 | } | ||
179 | |||
180 | /** | ||
163 | * Creates a new adapter for the default case. | 181 | * Creates a new adapter for the default case. |
164 | * <!-- begin-user-doc --> | 182 | * <!-- begin-user-doc --> |
165 | * This default implementation returns null. | 183 | * This default implementation returns null. |
diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java index 5dab272b..0c28861a 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java | |||
@@ -91,6 +91,13 @@ public class Modes3Switch<T> extends Switch<T> { | |||
91 | if (result == null) result = defaultCase(theEObject); | 91 | if (result == null) result = defaultCase(theEObject); |
92 | return result; | 92 | return result; |
93 | } | 93 | } |
94 | case Modes3Package.SIMPLE_SEGMENT: { | ||
95 | SimpleSegment simpleSegment = (SimpleSegment)theEObject; | ||
96 | T result = caseSimpleSegment(simpleSegment); | ||
97 | if (result == null) result = caseSegment(simpleSegment); | ||
98 | if (result == null) result = defaultCase(theEObject); | ||
99 | return result; | ||
100 | } | ||
94 | default: return defaultCase(theEObject); | 101 | default: return defaultCase(theEObject); |
95 | } | 102 | } |
96 | } | 103 | } |
@@ -156,6 +163,21 @@ public class Modes3Switch<T> extends Switch<T> { | |||
156 | } | 163 | } |
157 | 164 | ||
158 | /** | 165 | /** |
166 | * Returns the result of interpreting the object as an instance of '<em>Simple Segment</em>'. | ||
167 | * <!-- begin-user-doc --> | ||
168 | * This implementation returns null; | ||
169 | * returning a non-null result will terminate the switch. | ||
170 | * <!-- end-user-doc --> | ||
171 | * @param object the target of the switch. | ||
172 | * @return the result of interpreting the object as an instance of '<em>Simple Segment</em>'. | ||
173 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
174 | * @generated | ||
175 | */ | ||
176 | public T caseSimpleSegment(SimpleSegment object) { | ||
177 | return null; | ||
178 | } | ||
179 | |||
180 | /** | ||
159 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 181 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
160 | * <!-- begin-user-doc --> | 182 | * <!-- begin-user-doc --> |
161 | * This implementation returns null; | 183 | * This implementation returns null; |