1 | /** |
---|
2 | * <copyright> |
---|
3 | * </copyright> |
---|
4 | * |
---|
5 | */ |
---|
6 | package org.modelica.xtext.modelicaBase.util; |
---|
7 | |
---|
8 | import org.eclipse.emf.common.notify.Adapter; |
---|
9 | import org.eclipse.emf.common.notify.Notifier; |
---|
10 | |
---|
11 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; |
---|
12 | |
---|
13 | import org.eclipse.emf.ecore.EObject; |
---|
14 | |
---|
15 | import org.modelica.xtext.modelicaBase.*; |
---|
16 | |
---|
17 | /** |
---|
18 | * <!-- begin-user-doc --> |
---|
19 | * The <b>Adapter Factory</b> for the model. |
---|
20 | * It provides an adapter <code>createXXX</code> method for each class of the model. |
---|
21 | * <!-- end-user-doc --> |
---|
22 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage |
---|
23 | * @generated |
---|
24 | */ |
---|
25 | public class ModelicaBaseAdapterFactory extends AdapterFactoryImpl |
---|
26 | { |
---|
27 | /** |
---|
28 | * The cached model package. |
---|
29 | * <!-- begin-user-doc --> |
---|
30 | * <!-- end-user-doc --> |
---|
31 | * @generated |
---|
32 | */ |
---|
33 | protected static ModelicaBasePackage modelPackage; |
---|
34 | |
---|
35 | /** |
---|
36 | * Creates an instance of the adapter factory. |
---|
37 | * <!-- begin-user-doc --> |
---|
38 | * <!-- end-user-doc --> |
---|
39 | * @generated |
---|
40 | */ |
---|
41 | public ModelicaBaseAdapterFactory() |
---|
42 | { |
---|
43 | if (modelPackage == null) |
---|
44 | { |
---|
45 | modelPackage = ModelicaBasePackage.eINSTANCE; |
---|
46 | } |
---|
47 | } |
---|
48 | |
---|
49 | /** |
---|
50 | * Returns whether this factory is applicable for the type of the object. |
---|
51 | * <!-- begin-user-doc --> |
---|
52 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. |
---|
53 | * <!-- end-user-doc --> |
---|
54 | * @return whether this factory is applicable for the type of the object. |
---|
55 | * @generated |
---|
56 | */ |
---|
57 | @Override |
---|
58 | public boolean isFactoryForType(Object object) |
---|
59 | { |
---|
60 | if (object == modelPackage) |
---|
61 | { |
---|
62 | return true; |
---|
63 | } |
---|
64 | if (object instanceof EObject) |
---|
65 | { |
---|
66 | return ((EObject)object).eClass().getEPackage() == modelPackage; |
---|
67 | } |
---|
68 | return false; |
---|
69 | } |
---|
70 | |
---|
71 | /** |
---|
72 | * The switch that delegates to the <code>createXXX</code> methods. |
---|
73 | * <!-- begin-user-doc --> |
---|
74 | * <!-- end-user-doc --> |
---|
75 | * @generated |
---|
76 | */ |
---|
77 | protected ModelicaBaseSwitch<Adapter> modelSwitch = |
---|
78 | new ModelicaBaseSwitch<Adapter>() |
---|
79 | { |
---|
80 | @Override |
---|
81 | public Adapter caseStorageUnit(StorageUnit object) |
---|
82 | { |
---|
83 | return createStorageUnitAdapter(); |
---|
84 | } |
---|
85 | @Override |
---|
86 | public Adapter caseEntityDefinition(EntityDefinition object) |
---|
87 | { |
---|
88 | return createEntityDefinitionAdapter(); |
---|
89 | } |
---|
90 | @Override |
---|
91 | public Adapter caseClassDefinition(ClassDefinition object) |
---|
92 | { |
---|
93 | return createClassDefinitionAdapter(); |
---|
94 | } |
---|
95 | @Override |
---|
96 | public Adapter casePartialDerivative(PartialDerivative object) |
---|
97 | { |
---|
98 | return createPartialDerivativeAdapter(); |
---|
99 | } |
---|
100 | @Override |
---|
101 | public Adapter caseClassModification(ClassModification object) |
---|
102 | { |
---|
103 | return createClassModificationAdapter(); |
---|
104 | } |
---|
105 | @Override |
---|
106 | public Adapter caseClassOverloading(ClassOverloading object) |
---|
107 | { |
---|
108 | return createClassOverloadingAdapter(); |
---|
109 | } |
---|
110 | @Override |
---|
111 | public Adapter caseEnumeration(Enumeration object) |
---|
112 | { |
---|
113 | return createEnumerationAdapter(); |
---|
114 | } |
---|
115 | @Override |
---|
116 | public Adapter caseExternalClause(ExternalClause object) |
---|
117 | { |
---|
118 | return createExternalClauseAdapter(); |
---|
119 | } |
---|
120 | @Override |
---|
121 | public Adapter caseElementList(ElementList object) |
---|
122 | { |
---|
123 | return createElementListAdapter(); |
---|
124 | } |
---|
125 | @Override |
---|
126 | public Adapter caseClassElement(ClassElement object) |
---|
127 | { |
---|
128 | return createClassElementAdapter(); |
---|
129 | } |
---|
130 | @Override |
---|
131 | public Adapter caseReplaceableElementClause(ReplaceableElementClause object) |
---|
132 | { |
---|
133 | return createReplaceableElementClauseAdapter(); |
---|
134 | } |
---|
135 | @Override |
---|
136 | public Adapter caseImportClause(ImportClause object) |
---|
137 | { |
---|
138 | return createImportClauseAdapter(); |
---|
139 | } |
---|
140 | @Override |
---|
141 | public Adapter caseExtendsClause(ExtendsClause object) |
---|
142 | { |
---|
143 | return createExtendsClauseAdapter(); |
---|
144 | } |
---|
145 | @Override |
---|
146 | public Adapter caseConstrainingClause(ConstrainingClause object) |
---|
147 | { |
---|
148 | return createConstrainingClauseAdapter(); |
---|
149 | } |
---|
150 | @Override |
---|
151 | public Adapter caseComponentClause(ComponentClause object) |
---|
152 | { |
---|
153 | return createComponentClauseAdapter(); |
---|
154 | } |
---|
155 | @Override |
---|
156 | public Adapter caseTypeSpecifier(TypeSpecifier object) |
---|
157 | { |
---|
158 | return createTypeSpecifierAdapter(); |
---|
159 | } |
---|
160 | @Override |
---|
161 | public Adapter caseComponentDeclaration(ComponentDeclaration object) |
---|
162 | { |
---|
163 | return createComponentDeclarationAdapter(); |
---|
164 | } |
---|
165 | @Override |
---|
166 | public Adapter caseModification(Modification object) |
---|
167 | { |
---|
168 | return createModificationAdapter(); |
---|
169 | } |
---|
170 | @Override |
---|
171 | public Adapter caseSimpleModification(SimpleModification object) |
---|
172 | { |
---|
173 | return createSimpleModificationAdapter(); |
---|
174 | } |
---|
175 | @Override |
---|
176 | public Adapter caseargument(argument object) |
---|
177 | { |
---|
178 | return createargumentAdapter(); |
---|
179 | } |
---|
180 | @Override |
---|
181 | public Adapter caseElementModification(ElementModification object) |
---|
182 | { |
---|
183 | return createElementModificationAdapter(); |
---|
184 | } |
---|
185 | @Override |
---|
186 | public Adapter caseElementRedeclaration(ElementRedeclaration object) |
---|
187 | { |
---|
188 | return createElementRedeclarationAdapter(); |
---|
189 | } |
---|
190 | @Override |
---|
191 | public Adapter caseElementReplaceableClause(ElementReplaceableClause object) |
---|
192 | { |
---|
193 | return createElementReplaceableClauseAdapter(); |
---|
194 | } |
---|
195 | @Override |
---|
196 | public Adapter caseElementComponentClause(ElementComponentClause object) |
---|
197 | { |
---|
198 | return createElementComponentClauseAdapter(); |
---|
199 | } |
---|
200 | @Override |
---|
201 | public Adapter caseEquationClause(EquationClause object) |
---|
202 | { |
---|
203 | return createEquationClauseAdapter(); |
---|
204 | } |
---|
205 | @Override |
---|
206 | public Adapter casealgorithm_clause(algorithm_clause object) |
---|
207 | { |
---|
208 | return createalgorithm_clauseAdapter(); |
---|
209 | } |
---|
210 | @Override |
---|
211 | public Adapter caseinitial_equation_rule_clause(initial_equation_rule_clause object) |
---|
212 | { |
---|
213 | return createinitial_equation_rule_clauseAdapter(); |
---|
214 | } |
---|
215 | @Override |
---|
216 | public Adapter caseinitial_algorithm_clause(initial_algorithm_clause object) |
---|
217 | { |
---|
218 | return createinitial_algorithm_clauseAdapter(); |
---|
219 | } |
---|
220 | @Override |
---|
221 | public Adapter caseequation_rule(equation_rule object) |
---|
222 | { |
---|
223 | return createequation_ruleAdapter(); |
---|
224 | } |
---|
225 | @Override |
---|
226 | public Adapter casealgorithm(algorithm object) |
---|
227 | { |
---|
228 | return createalgorithmAdapter(); |
---|
229 | } |
---|
230 | @Override |
---|
231 | public Adapter caseConditionalEquationRule(ConditionalEquationRule object) |
---|
232 | { |
---|
233 | return createConditionalEquationRuleAdapter(); |
---|
234 | } |
---|
235 | @Override |
---|
236 | public Adapter caseConditionAlgorithmRule(ConditionAlgorithmRule object) |
---|
237 | { |
---|
238 | return createConditionAlgorithmRuleAdapter(); |
---|
239 | } |
---|
240 | @Override |
---|
241 | public Adapter caseForEquationClause(ForEquationClause object) |
---|
242 | { |
---|
243 | return createForEquationClauseAdapter(); |
---|
244 | } |
---|
245 | @Override |
---|
246 | public Adapter caseForAlgorithmClause(ForAlgorithmClause object) |
---|
247 | { |
---|
248 | return createForAlgorithmClauseAdapter(); |
---|
249 | } |
---|
250 | @Override |
---|
251 | public Adapter caseWhileClause(WhileClause object) |
---|
252 | { |
---|
253 | return createWhileClauseAdapter(); |
---|
254 | } |
---|
255 | @Override |
---|
256 | public Adapter casewhen_clause_e(when_clause_e object) |
---|
257 | { |
---|
258 | return createwhen_clause_eAdapter(); |
---|
259 | } |
---|
260 | @Override |
---|
261 | public Adapter caseelse_when_e(else_when_e object) |
---|
262 | { |
---|
263 | return createelse_when_eAdapter(); |
---|
264 | } |
---|
265 | @Override |
---|
266 | public Adapter casewhen_clause_a(when_clause_a object) |
---|
267 | { |
---|
268 | return createwhen_clause_aAdapter(); |
---|
269 | } |
---|
270 | @Override |
---|
271 | public Adapter caseelse_when_a(else_when_a object) |
---|
272 | { |
---|
273 | return createelse_when_aAdapter(); |
---|
274 | } |
---|
275 | @Override |
---|
276 | public Adapter caseequation_rule_elseif(equation_rule_elseif object) |
---|
277 | { |
---|
278 | return createequation_rule_elseifAdapter(); |
---|
279 | } |
---|
280 | @Override |
---|
281 | public Adapter casealgorithm_elseif(algorithm_elseif object) |
---|
282 | { |
---|
283 | return createalgorithm_elseifAdapter(); |
---|
284 | } |
---|
285 | @Override |
---|
286 | public Adapter caseComment(Comment object) |
---|
287 | { |
---|
288 | return createCommentAdapter(); |
---|
289 | } |
---|
290 | @Override |
---|
291 | public Adapter caseAnnotation(Annotation object) |
---|
292 | { |
---|
293 | return createAnnotationAdapter(); |
---|
294 | } |
---|
295 | @Override |
---|
296 | public Adapter casePublicElementList(PublicElementList object) |
---|
297 | { |
---|
298 | return createPublicElementListAdapter(); |
---|
299 | } |
---|
300 | @Override |
---|
301 | public Adapter caseProtectesElementList(ProtectesElementList object) |
---|
302 | { |
---|
303 | return createProtectesElementListAdapter(); |
---|
304 | } |
---|
305 | @Override |
---|
306 | public Adapter defaultCase(EObject object) |
---|
307 | { |
---|
308 | return createEObjectAdapter(); |
---|
309 | } |
---|
310 | }; |
---|
311 | |
---|
312 | /** |
---|
313 | * Creates an adapter for the <code>target</code>. |
---|
314 | * <!-- begin-user-doc --> |
---|
315 | * <!-- end-user-doc --> |
---|
316 | * @param target the object to adapt. |
---|
317 | * @return the adapter for the <code>target</code>. |
---|
318 | * @generated |
---|
319 | */ |
---|
320 | @Override |
---|
321 | public Adapter createAdapter(Notifier target) |
---|
322 | { |
---|
323 | return modelSwitch.doSwitch((EObject)target); |
---|
324 | } |
---|
325 | |
---|
326 | |
---|
327 | /** |
---|
328 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.StorageUnit <em>Storage Unit</em>}'. |
---|
329 | * <!-- begin-user-doc --> |
---|
330 | * This default implementation returns null so that we can easily ignore cases; |
---|
331 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
332 | * <!-- end-user-doc --> |
---|
333 | * @return the new adapter. |
---|
334 | * @see org.modelica.xtext.modelicaBase.StorageUnit |
---|
335 | * @generated |
---|
336 | */ |
---|
337 | public Adapter createStorageUnitAdapter() |
---|
338 | { |
---|
339 | return null; |
---|
340 | } |
---|
341 | |
---|
342 | /** |
---|
343 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.EntityDefinition <em>Entity Definition</em>}'. |
---|
344 | * <!-- begin-user-doc --> |
---|
345 | * This default implementation returns null so that we can easily ignore cases; |
---|
346 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
347 | * <!-- end-user-doc --> |
---|
348 | * @return the new adapter. |
---|
349 | * @see org.modelica.xtext.modelicaBase.EntityDefinition |
---|
350 | * @generated |
---|
351 | */ |
---|
352 | public Adapter createEntityDefinitionAdapter() |
---|
353 | { |
---|
354 | return null; |
---|
355 | } |
---|
356 | |
---|
357 | /** |
---|
358 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ClassDefinition <em>Class Definition</em>}'. |
---|
359 | * <!-- begin-user-doc --> |
---|
360 | * This default implementation returns null so that we can easily ignore cases; |
---|
361 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
362 | * <!-- end-user-doc --> |
---|
363 | * @return the new adapter. |
---|
364 | * @see org.modelica.xtext.modelicaBase.ClassDefinition |
---|
365 | * @generated |
---|
366 | */ |
---|
367 | public Adapter createClassDefinitionAdapter() |
---|
368 | { |
---|
369 | return null; |
---|
370 | } |
---|
371 | |
---|
372 | /** |
---|
373 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.PartialDerivative <em>Partial Derivative</em>}'. |
---|
374 | * <!-- begin-user-doc --> |
---|
375 | * This default implementation returns null so that we can easily ignore cases; |
---|
376 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
377 | * <!-- end-user-doc --> |
---|
378 | * @return the new adapter. |
---|
379 | * @see org.modelica.xtext.modelicaBase.PartialDerivative |
---|
380 | * @generated |
---|
381 | */ |
---|
382 | public Adapter createPartialDerivativeAdapter() |
---|
383 | { |
---|
384 | return null; |
---|
385 | } |
---|
386 | |
---|
387 | /** |
---|
388 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ClassModification <em>Class Modification</em>}'. |
---|
389 | * <!-- begin-user-doc --> |
---|
390 | * This default implementation returns null so that we can easily ignore cases; |
---|
391 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
392 | * <!-- end-user-doc --> |
---|
393 | * @return the new adapter. |
---|
394 | * @see org.modelica.xtext.modelicaBase.ClassModification |
---|
395 | * @generated |
---|
396 | */ |
---|
397 | public Adapter createClassModificationAdapter() |
---|
398 | { |
---|
399 | return null; |
---|
400 | } |
---|
401 | |
---|
402 | /** |
---|
403 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ClassOverloading <em>Class Overloading</em>}'. |
---|
404 | * <!-- begin-user-doc --> |
---|
405 | * This default implementation returns null so that we can easily ignore cases; |
---|
406 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
407 | * <!-- end-user-doc --> |
---|
408 | * @return the new adapter. |
---|
409 | * @see org.modelica.xtext.modelicaBase.ClassOverloading |
---|
410 | * @generated |
---|
411 | */ |
---|
412 | public Adapter createClassOverloadingAdapter() |
---|
413 | { |
---|
414 | return null; |
---|
415 | } |
---|
416 | |
---|
417 | /** |
---|
418 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.Enumeration <em>Enumeration</em>}'. |
---|
419 | * <!-- begin-user-doc --> |
---|
420 | * This default implementation returns null so that we can easily ignore cases; |
---|
421 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
422 | * <!-- end-user-doc --> |
---|
423 | * @return the new adapter. |
---|
424 | * @see org.modelica.xtext.modelicaBase.Enumeration |
---|
425 | * @generated |
---|
426 | */ |
---|
427 | public Adapter createEnumerationAdapter() |
---|
428 | { |
---|
429 | return null; |
---|
430 | } |
---|
431 | |
---|
432 | /** |
---|
433 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ExternalClause <em>External Clause</em>}'. |
---|
434 | * <!-- begin-user-doc --> |
---|
435 | * This default implementation returns null so that we can easily ignore cases; |
---|
436 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
437 | * <!-- end-user-doc --> |
---|
438 | * @return the new adapter. |
---|
439 | * @see org.modelica.xtext.modelicaBase.ExternalClause |
---|
440 | * @generated |
---|
441 | */ |
---|
442 | public Adapter createExternalClauseAdapter() |
---|
443 | { |
---|
444 | return null; |
---|
445 | } |
---|
446 | |
---|
447 | /** |
---|
448 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ElementList <em>Element List</em>}'. |
---|
449 | * <!-- begin-user-doc --> |
---|
450 | * This default implementation returns null so that we can easily ignore cases; |
---|
451 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
452 | * <!-- end-user-doc --> |
---|
453 | * @return the new adapter. |
---|
454 | * @see org.modelica.xtext.modelicaBase.ElementList |
---|
455 | * @generated |
---|
456 | */ |
---|
457 | public Adapter createElementListAdapter() |
---|
458 | { |
---|
459 | return null; |
---|
460 | } |
---|
461 | |
---|
462 | /** |
---|
463 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ClassElement <em>Class Element</em>}'. |
---|
464 | * <!-- begin-user-doc --> |
---|
465 | * This default implementation returns null so that we can easily ignore cases; |
---|
466 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
467 | * <!-- end-user-doc --> |
---|
468 | * @return the new adapter. |
---|
469 | * @see org.modelica.xtext.modelicaBase.ClassElement |
---|
470 | * @generated |
---|
471 | */ |
---|
472 | public Adapter createClassElementAdapter() |
---|
473 | { |
---|
474 | return null; |
---|
475 | } |
---|
476 | |
---|
477 | /** |
---|
478 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ReplaceableElementClause <em>Replaceable Element Clause</em>}'. |
---|
479 | * <!-- begin-user-doc --> |
---|
480 | * This default implementation returns null so that we can easily ignore cases; |
---|
481 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
482 | * <!-- end-user-doc --> |
---|
483 | * @return the new adapter. |
---|
484 | * @see org.modelica.xtext.modelicaBase.ReplaceableElementClause |
---|
485 | * @generated |
---|
486 | */ |
---|
487 | public Adapter createReplaceableElementClauseAdapter() |
---|
488 | { |
---|
489 | return null; |
---|
490 | } |
---|
491 | |
---|
492 | /** |
---|
493 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ImportClause <em>Import Clause</em>}'. |
---|
494 | * <!-- begin-user-doc --> |
---|
495 | * This default implementation returns null so that we can easily ignore cases; |
---|
496 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
497 | * <!-- end-user-doc --> |
---|
498 | * @return the new adapter. |
---|
499 | * @see org.modelica.xtext.modelicaBase.ImportClause |
---|
500 | * @generated |
---|
501 | */ |
---|
502 | public Adapter createImportClauseAdapter() |
---|
503 | { |
---|
504 | return null; |
---|
505 | } |
---|
506 | |
---|
507 | /** |
---|
508 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ExtendsClause <em>Extends Clause</em>}'. |
---|
509 | * <!-- begin-user-doc --> |
---|
510 | * This default implementation returns null so that we can easily ignore cases; |
---|
511 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
512 | * <!-- end-user-doc --> |
---|
513 | * @return the new adapter. |
---|
514 | * @see org.modelica.xtext.modelicaBase.ExtendsClause |
---|
515 | * @generated |
---|
516 | */ |
---|
517 | public Adapter createExtendsClauseAdapter() |
---|
518 | { |
---|
519 | return null; |
---|
520 | } |
---|
521 | |
---|
522 | /** |
---|
523 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ConstrainingClause <em>Constraining Clause</em>}'. |
---|
524 | * <!-- begin-user-doc --> |
---|
525 | * This default implementation returns null so that we can easily ignore cases; |
---|
526 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
527 | * <!-- end-user-doc --> |
---|
528 | * @return the new adapter. |
---|
529 | * @see org.modelica.xtext.modelicaBase.ConstrainingClause |
---|
530 | * @generated |
---|
531 | */ |
---|
532 | public Adapter createConstrainingClauseAdapter() |
---|
533 | { |
---|
534 | return null; |
---|
535 | } |
---|
536 | |
---|
537 | /** |
---|
538 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ComponentClause <em>Component Clause</em>}'. |
---|
539 | * <!-- begin-user-doc --> |
---|
540 | * This default implementation returns null so that we can easily ignore cases; |
---|
541 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
542 | * <!-- end-user-doc --> |
---|
543 | * @return the new adapter. |
---|
544 | * @see org.modelica.xtext.modelicaBase.ComponentClause |
---|
545 | * @generated |
---|
546 | */ |
---|
547 | public Adapter createComponentClauseAdapter() |
---|
548 | { |
---|
549 | return null; |
---|
550 | } |
---|
551 | |
---|
552 | /** |
---|
553 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.TypeSpecifier <em>Type Specifier</em>}'. |
---|
554 | * <!-- begin-user-doc --> |
---|
555 | * This default implementation returns null so that we can easily ignore cases; |
---|
556 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
557 | * <!-- end-user-doc --> |
---|
558 | * @return the new adapter. |
---|
559 | * @see org.modelica.xtext.modelicaBase.TypeSpecifier |
---|
560 | * @generated |
---|
561 | */ |
---|
562 | public Adapter createTypeSpecifierAdapter() |
---|
563 | { |
---|
564 | return null; |
---|
565 | } |
---|
566 | |
---|
567 | /** |
---|
568 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ComponentDeclaration <em>Component Declaration</em>}'. |
---|
569 | * <!-- begin-user-doc --> |
---|
570 | * This default implementation returns null so that we can easily ignore cases; |
---|
571 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
572 | * <!-- end-user-doc --> |
---|
573 | * @return the new adapter. |
---|
574 | * @see org.modelica.xtext.modelicaBase.ComponentDeclaration |
---|
575 | * @generated |
---|
576 | */ |
---|
577 | public Adapter createComponentDeclarationAdapter() |
---|
578 | { |
---|
579 | return null; |
---|
580 | } |
---|
581 | |
---|
582 | /** |
---|
583 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.Modification <em>Modification</em>}'. |
---|
584 | * <!-- begin-user-doc --> |
---|
585 | * This default implementation returns null so that we can easily ignore cases; |
---|
586 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
587 | * <!-- end-user-doc --> |
---|
588 | * @return the new adapter. |
---|
589 | * @see org.modelica.xtext.modelicaBase.Modification |
---|
590 | * @generated |
---|
591 | */ |
---|
592 | public Adapter createModificationAdapter() |
---|
593 | { |
---|
594 | return null; |
---|
595 | } |
---|
596 | |
---|
597 | /** |
---|
598 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.SimpleModification <em>Simple Modification</em>}'. |
---|
599 | * <!-- begin-user-doc --> |
---|
600 | * This default implementation returns null so that we can easily ignore cases; |
---|
601 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
602 | * <!-- end-user-doc --> |
---|
603 | * @return the new adapter. |
---|
604 | * @see org.modelica.xtext.modelicaBase.SimpleModification |
---|
605 | * @generated |
---|
606 | */ |
---|
607 | public Adapter createSimpleModificationAdapter() |
---|
608 | { |
---|
609 | return null; |
---|
610 | } |
---|
611 | |
---|
612 | /** |
---|
613 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.argument <em>argument</em>}'. |
---|
614 | * <!-- begin-user-doc --> |
---|
615 | * This default implementation returns null so that we can easily ignore cases; |
---|
616 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
617 | * <!-- end-user-doc --> |
---|
618 | * @return the new adapter. |
---|
619 | * @see org.modelica.xtext.modelicaBase.argument |
---|
620 | * @generated |
---|
621 | */ |
---|
622 | public Adapter createargumentAdapter() |
---|
623 | { |
---|
624 | return null; |
---|
625 | } |
---|
626 | |
---|
627 | /** |
---|
628 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ElementModification <em>Element Modification</em>}'. |
---|
629 | * <!-- begin-user-doc --> |
---|
630 | * This default implementation returns null so that we can easily ignore cases; |
---|
631 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
632 | * <!-- end-user-doc --> |
---|
633 | * @return the new adapter. |
---|
634 | * @see org.modelica.xtext.modelicaBase.ElementModification |
---|
635 | * @generated |
---|
636 | */ |
---|
637 | public Adapter createElementModificationAdapter() |
---|
638 | { |
---|
639 | return null; |
---|
640 | } |
---|
641 | |
---|
642 | /** |
---|
643 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ElementRedeclaration <em>Element Redeclaration</em>}'. |
---|
644 | * <!-- begin-user-doc --> |
---|
645 | * This default implementation returns null so that we can easily ignore cases; |
---|
646 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
647 | * <!-- end-user-doc --> |
---|
648 | * @return the new adapter. |
---|
649 | * @see org.modelica.xtext.modelicaBase.ElementRedeclaration |
---|
650 | * @generated |
---|
651 | */ |
---|
652 | public Adapter createElementRedeclarationAdapter() |
---|
653 | { |
---|
654 | return null; |
---|
655 | } |
---|
656 | |
---|
657 | /** |
---|
658 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ElementReplaceableClause <em>Element Replaceable Clause</em>}'. |
---|
659 | * <!-- begin-user-doc --> |
---|
660 | * This default implementation returns null so that we can easily ignore cases; |
---|
661 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
662 | * <!-- end-user-doc --> |
---|
663 | * @return the new adapter. |
---|
664 | * @see org.modelica.xtext.modelicaBase.ElementReplaceableClause |
---|
665 | * @generated |
---|
666 | */ |
---|
667 | public Adapter createElementReplaceableClauseAdapter() |
---|
668 | { |
---|
669 | return null; |
---|
670 | } |
---|
671 | |
---|
672 | /** |
---|
673 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ElementComponentClause <em>Element Component Clause</em>}'. |
---|
674 | * <!-- begin-user-doc --> |
---|
675 | * This default implementation returns null so that we can easily ignore cases; |
---|
676 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
677 | * <!-- end-user-doc --> |
---|
678 | * @return the new adapter. |
---|
679 | * @see org.modelica.xtext.modelicaBase.ElementComponentClause |
---|
680 | * @generated |
---|
681 | */ |
---|
682 | public Adapter createElementComponentClauseAdapter() |
---|
683 | { |
---|
684 | return null; |
---|
685 | } |
---|
686 | |
---|
687 | /** |
---|
688 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.EquationClause <em>Equation Clause</em>}'. |
---|
689 | * <!-- begin-user-doc --> |
---|
690 | * This default implementation returns null so that we can easily ignore cases; |
---|
691 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
692 | * <!-- end-user-doc --> |
---|
693 | * @return the new adapter. |
---|
694 | * @see org.modelica.xtext.modelicaBase.EquationClause |
---|
695 | * @generated |
---|
696 | */ |
---|
697 | public Adapter createEquationClauseAdapter() |
---|
698 | { |
---|
699 | return null; |
---|
700 | } |
---|
701 | |
---|
702 | /** |
---|
703 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.algorithm_clause <em>algorithm clause</em>}'. |
---|
704 | * <!-- begin-user-doc --> |
---|
705 | * This default implementation returns null so that we can easily ignore cases; |
---|
706 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
707 | * <!-- end-user-doc --> |
---|
708 | * @return the new adapter. |
---|
709 | * @see org.modelica.xtext.modelicaBase.algorithm_clause |
---|
710 | * @generated |
---|
711 | */ |
---|
712 | public Adapter createalgorithm_clauseAdapter() |
---|
713 | { |
---|
714 | return null; |
---|
715 | } |
---|
716 | |
---|
717 | /** |
---|
718 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.initial_equation_rule_clause <em>initial equation rule clause</em>}'. |
---|
719 | * <!-- begin-user-doc --> |
---|
720 | * This default implementation returns null so that we can easily ignore cases; |
---|
721 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
722 | * <!-- end-user-doc --> |
---|
723 | * @return the new adapter. |
---|
724 | * @see org.modelica.xtext.modelicaBase.initial_equation_rule_clause |
---|
725 | * @generated |
---|
726 | */ |
---|
727 | public Adapter createinitial_equation_rule_clauseAdapter() |
---|
728 | { |
---|
729 | return null; |
---|
730 | } |
---|
731 | |
---|
732 | /** |
---|
733 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.initial_algorithm_clause <em>initial algorithm clause</em>}'. |
---|
734 | * <!-- begin-user-doc --> |
---|
735 | * This default implementation returns null so that we can easily ignore cases; |
---|
736 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
737 | * <!-- end-user-doc --> |
---|
738 | * @return the new adapter. |
---|
739 | * @see org.modelica.xtext.modelicaBase.initial_algorithm_clause |
---|
740 | * @generated |
---|
741 | */ |
---|
742 | public Adapter createinitial_algorithm_clauseAdapter() |
---|
743 | { |
---|
744 | return null; |
---|
745 | } |
---|
746 | |
---|
747 | /** |
---|
748 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.equation_rule <em>equation rule</em>}'. |
---|
749 | * <!-- begin-user-doc --> |
---|
750 | * This default implementation returns null so that we can easily ignore cases; |
---|
751 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
752 | * <!-- end-user-doc --> |
---|
753 | * @return the new adapter. |
---|
754 | * @see org.modelica.xtext.modelicaBase.equation_rule |
---|
755 | * @generated |
---|
756 | */ |
---|
757 | public Adapter createequation_ruleAdapter() |
---|
758 | { |
---|
759 | return null; |
---|
760 | } |
---|
761 | |
---|
762 | /** |
---|
763 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.algorithm <em>algorithm</em>}'. |
---|
764 | * <!-- begin-user-doc --> |
---|
765 | * This default implementation returns null so that we can easily ignore cases; |
---|
766 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
767 | * <!-- end-user-doc --> |
---|
768 | * @return the new adapter. |
---|
769 | * @see org.modelica.xtext.modelicaBase.algorithm |
---|
770 | * @generated |
---|
771 | */ |
---|
772 | public Adapter createalgorithmAdapter() |
---|
773 | { |
---|
774 | return null; |
---|
775 | } |
---|
776 | |
---|
777 | /** |
---|
778 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ConditionalEquationRule <em>Conditional Equation Rule</em>}'. |
---|
779 | * <!-- begin-user-doc --> |
---|
780 | * This default implementation returns null so that we can easily ignore cases; |
---|
781 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
782 | * <!-- end-user-doc --> |
---|
783 | * @return the new adapter. |
---|
784 | * @see org.modelica.xtext.modelicaBase.ConditionalEquationRule |
---|
785 | * @generated |
---|
786 | */ |
---|
787 | public Adapter createConditionalEquationRuleAdapter() |
---|
788 | { |
---|
789 | return null; |
---|
790 | } |
---|
791 | |
---|
792 | /** |
---|
793 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ConditionAlgorithmRule <em>Condition Algorithm Rule</em>}'. |
---|
794 | * <!-- begin-user-doc --> |
---|
795 | * This default implementation returns null so that we can easily ignore cases; |
---|
796 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
797 | * <!-- end-user-doc --> |
---|
798 | * @return the new adapter. |
---|
799 | * @see org.modelica.xtext.modelicaBase.ConditionAlgorithmRule |
---|
800 | * @generated |
---|
801 | */ |
---|
802 | public Adapter createConditionAlgorithmRuleAdapter() |
---|
803 | { |
---|
804 | return null; |
---|
805 | } |
---|
806 | |
---|
807 | /** |
---|
808 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ForEquationClause <em>For Equation Clause</em>}'. |
---|
809 | * <!-- begin-user-doc --> |
---|
810 | * This default implementation returns null so that we can easily ignore cases; |
---|
811 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
812 | * <!-- end-user-doc --> |
---|
813 | * @return the new adapter. |
---|
814 | * @see org.modelica.xtext.modelicaBase.ForEquationClause |
---|
815 | * @generated |
---|
816 | */ |
---|
817 | public Adapter createForEquationClauseAdapter() |
---|
818 | { |
---|
819 | return null; |
---|
820 | } |
---|
821 | |
---|
822 | /** |
---|
823 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ForAlgorithmClause <em>For Algorithm Clause</em>}'. |
---|
824 | * <!-- begin-user-doc --> |
---|
825 | * This default implementation returns null so that we can easily ignore cases; |
---|
826 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
827 | * <!-- end-user-doc --> |
---|
828 | * @return the new adapter. |
---|
829 | * @see org.modelica.xtext.modelicaBase.ForAlgorithmClause |
---|
830 | * @generated |
---|
831 | */ |
---|
832 | public Adapter createForAlgorithmClauseAdapter() |
---|
833 | { |
---|
834 | return null; |
---|
835 | } |
---|
836 | |
---|
837 | /** |
---|
838 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.WhileClause <em>While Clause</em>}'. |
---|
839 | * <!-- begin-user-doc --> |
---|
840 | * This default implementation returns null so that we can easily ignore cases; |
---|
841 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
842 | * <!-- end-user-doc --> |
---|
843 | * @return the new adapter. |
---|
844 | * @see org.modelica.xtext.modelicaBase.WhileClause |
---|
845 | * @generated |
---|
846 | */ |
---|
847 | public Adapter createWhileClauseAdapter() |
---|
848 | { |
---|
849 | return null; |
---|
850 | } |
---|
851 | |
---|
852 | /** |
---|
853 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.when_clause_e <em>when clause e</em>}'. |
---|
854 | * <!-- begin-user-doc --> |
---|
855 | * This default implementation returns null so that we can easily ignore cases; |
---|
856 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
857 | * <!-- end-user-doc --> |
---|
858 | * @return the new adapter. |
---|
859 | * @see org.modelica.xtext.modelicaBase.when_clause_e |
---|
860 | * @generated |
---|
861 | */ |
---|
862 | public Adapter createwhen_clause_eAdapter() |
---|
863 | { |
---|
864 | return null; |
---|
865 | } |
---|
866 | |
---|
867 | /** |
---|
868 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.else_when_e <em>else when e</em>}'. |
---|
869 | * <!-- begin-user-doc --> |
---|
870 | * This default implementation returns null so that we can easily ignore cases; |
---|
871 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
872 | * <!-- end-user-doc --> |
---|
873 | * @return the new adapter. |
---|
874 | * @see org.modelica.xtext.modelicaBase.else_when_e |
---|
875 | * @generated |
---|
876 | */ |
---|
877 | public Adapter createelse_when_eAdapter() |
---|
878 | { |
---|
879 | return null; |
---|
880 | } |
---|
881 | |
---|
882 | /** |
---|
883 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.when_clause_a <em>when clause a</em>}'. |
---|
884 | * <!-- begin-user-doc --> |
---|
885 | * This default implementation returns null so that we can easily ignore cases; |
---|
886 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
887 | * <!-- end-user-doc --> |
---|
888 | * @return the new adapter. |
---|
889 | * @see org.modelica.xtext.modelicaBase.when_clause_a |
---|
890 | * @generated |
---|
891 | */ |
---|
892 | public Adapter createwhen_clause_aAdapter() |
---|
893 | { |
---|
894 | return null; |
---|
895 | } |
---|
896 | |
---|
897 | /** |
---|
898 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.else_when_a <em>else when a</em>}'. |
---|
899 | * <!-- begin-user-doc --> |
---|
900 | * This default implementation returns null so that we can easily ignore cases; |
---|
901 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
902 | * <!-- end-user-doc --> |
---|
903 | * @return the new adapter. |
---|
904 | * @see org.modelica.xtext.modelicaBase.else_when_a |
---|
905 | * @generated |
---|
906 | */ |
---|
907 | public Adapter createelse_when_aAdapter() |
---|
908 | { |
---|
909 | return null; |
---|
910 | } |
---|
911 | |
---|
912 | /** |
---|
913 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.equation_rule_elseif <em>equation rule elseif</em>}'. |
---|
914 | * <!-- begin-user-doc --> |
---|
915 | * This default implementation returns null so that we can easily ignore cases; |
---|
916 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
917 | * <!-- end-user-doc --> |
---|
918 | * @return the new adapter. |
---|
919 | * @see org.modelica.xtext.modelicaBase.equation_rule_elseif |
---|
920 | * @generated |
---|
921 | */ |
---|
922 | public Adapter createequation_rule_elseifAdapter() |
---|
923 | { |
---|
924 | return null; |
---|
925 | } |
---|
926 | |
---|
927 | /** |
---|
928 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.algorithm_elseif <em>algorithm elseif</em>}'. |
---|
929 | * <!-- begin-user-doc --> |
---|
930 | * This default implementation returns null so that we can easily ignore cases; |
---|
931 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
932 | * <!-- end-user-doc --> |
---|
933 | * @return the new adapter. |
---|
934 | * @see org.modelica.xtext.modelicaBase.algorithm_elseif |
---|
935 | * @generated |
---|
936 | */ |
---|
937 | public Adapter createalgorithm_elseifAdapter() |
---|
938 | { |
---|
939 | return null; |
---|
940 | } |
---|
941 | |
---|
942 | /** |
---|
943 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.Comment <em>Comment</em>}'. |
---|
944 | * <!-- begin-user-doc --> |
---|
945 | * This default implementation returns null so that we can easily ignore cases; |
---|
946 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
947 | * <!-- end-user-doc --> |
---|
948 | * @return the new adapter. |
---|
949 | * @see org.modelica.xtext.modelicaBase.Comment |
---|
950 | * @generated |
---|
951 | */ |
---|
952 | public Adapter createCommentAdapter() |
---|
953 | { |
---|
954 | return null; |
---|
955 | } |
---|
956 | |
---|
957 | /** |
---|
958 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.Annotation <em>Annotation</em>}'. |
---|
959 | * <!-- begin-user-doc --> |
---|
960 | * This default implementation returns null so that we can easily ignore cases; |
---|
961 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
962 | * <!-- end-user-doc --> |
---|
963 | * @return the new adapter. |
---|
964 | * @see org.modelica.xtext.modelicaBase.Annotation |
---|
965 | * @generated |
---|
966 | */ |
---|
967 | public Adapter createAnnotationAdapter() |
---|
968 | { |
---|
969 | return null; |
---|
970 | } |
---|
971 | |
---|
972 | /** |
---|
973 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.PublicElementList <em>Public Element List</em>}'. |
---|
974 | * <!-- begin-user-doc --> |
---|
975 | * This default implementation returns null so that we can easily ignore cases; |
---|
976 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
977 | * <!-- end-user-doc --> |
---|
978 | * @return the new adapter. |
---|
979 | * @see org.modelica.xtext.modelicaBase.PublicElementList |
---|
980 | * @generated |
---|
981 | */ |
---|
982 | public Adapter createPublicElementListAdapter() |
---|
983 | { |
---|
984 | return null; |
---|
985 | } |
---|
986 | |
---|
987 | /** |
---|
988 | * Creates a new adapter for an object of class '{@link org.modelica.xtext.modelicaBase.ProtectesElementList <em>Protectes Element List</em>}'. |
---|
989 | * <!-- begin-user-doc --> |
---|
990 | * This default implementation returns null so that we can easily ignore cases; |
---|
991 | * it's useful to ignore a case when inheritance will catch all the cases anyway. |
---|
992 | * <!-- end-user-doc --> |
---|
993 | * @return the new adapter. |
---|
994 | * @see org.modelica.xtext.modelicaBase.ProtectesElementList |
---|
995 | * @generated |
---|
996 | */ |
---|
997 | public Adapter createProtectesElementListAdapter() |
---|
998 | { |
---|
999 | return null; |
---|
1000 | } |
---|
1001 | |
---|
1002 | /** |
---|
1003 | * Creates a new adapter for the default case. |
---|
1004 | * <!-- begin-user-doc --> |
---|
1005 | * This default implementation returns null. |
---|
1006 | * <!-- end-user-doc --> |
---|
1007 | * @return the new adapter. |
---|
1008 | * @generated |
---|
1009 | */ |
---|
1010 | public Adapter createEObjectAdapter() |
---|
1011 | { |
---|
1012 | return null; |
---|
1013 | } |
---|
1014 | |
---|
1015 | } //ModelicaBaseAdapterFactory |
---|