diff options
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java')
-rw-r--r-- | Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java | 339 |
1 files changed, 339 insertions, 0 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java index b3373dfd..fb33ef42 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; |
@@ -316,3 +317,341 @@ public class YakindummAdapterFactory extends AdapterFactoryImpl { | |||
316 | } | 317 | } |
317 | 318 | ||
318 | } //YakindummAdapterFactory | 319 | } //YakindummAdapterFactory |
320 | ======= | ||
321 | /** | ||
322 | */ | ||
323 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util; | ||
324 | |||
325 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
326 | |||
327 | import org.eclipse.emf.common.notify.Adapter; | ||
328 | import org.eclipse.emf.common.notify.Notifier; | ||
329 | |||
330 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
331 | |||
332 | import org.eclipse.emf.ecore.EObject; | ||
333 | |||
334 | /** | ||
335 | * <!-- begin-user-doc --> | ||
336 | * The <b>Adapter Factory</b> for the model. | ||
337 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
338 | * <!-- end-user-doc --> | ||
339 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
340 | * @generated | ||
341 | */ | ||
342 | public class YakinduAdapterFactory extends AdapterFactoryImpl { | ||
343 | /** | ||
344 | * The cached model package. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | protected static YakinduPackage modelPackage; | ||
350 | |||
351 | /** | ||
352 | * Creates an instance of the adapter factory. | ||
353 | * <!-- begin-user-doc --> | ||
354 | * <!-- end-user-doc --> | ||
355 | * @generated | ||
356 | */ | ||
357 | public YakinduAdapterFactory() { | ||
358 | if (modelPackage == null) { | ||
359 | modelPackage = YakinduPackage.eINSTANCE; | ||
360 | } | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * Returns whether this factory is applicable for the type of the object. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
367 | * <!-- end-user-doc --> | ||
368 | * @return whether this factory is applicable for the type of the object. | ||
369 | * @generated | ||
370 | */ | ||
371 | @Override | ||
372 | public boolean isFactoryForType(Object object) { | ||
373 | if (object == modelPackage) { | ||
374 | return true; | ||
375 | } | ||
376 | if (object instanceof EObject) { | ||
377 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
378 | } | ||
379 | return false; | ||
380 | } | ||
381 | |||
382 | /** | ||
383 | * The switch that delegates to the <code>createXXX</code> methods. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | protected YakinduSwitch<Adapter> modelSwitch = | ||
389 | new YakinduSwitch<Adapter>() { | ||
390 | @Override | ||
391 | public Adapter casePseudostate(Pseudostate object) { | ||
392 | return createPseudostateAdapter(); | ||
393 | } | ||
394 | @Override | ||
395 | public Adapter caseVertex(Vertex object) { | ||
396 | return createVertexAdapter(); | ||
397 | } | ||
398 | @Override | ||
399 | public Adapter caseRegion(Region object) { | ||
400 | return createRegionAdapter(); | ||
401 | } | ||
402 | @Override | ||
403 | public Adapter caseTransition(Transition object) { | ||
404 | return createTransitionAdapter(); | ||
405 | } | ||
406 | @Override | ||
407 | public Adapter caseStatechart(Statechart object) { | ||
408 | return createStatechartAdapter(); | ||
409 | } | ||
410 | @Override | ||
411 | public Adapter caseEntry(Entry object) { | ||
412 | return createEntryAdapter(); | ||
413 | } | ||
414 | @Override | ||
415 | public Adapter caseSynchronization(Synchronization object) { | ||
416 | return createSynchronizationAdapter(); | ||
417 | } | ||
418 | @Override | ||
419 | public Adapter caseState(State object) { | ||
420 | return createStateAdapter(); | ||
421 | } | ||
422 | @Override | ||
423 | public Adapter caseRegularState(RegularState object) { | ||
424 | return createRegularStateAdapter(); | ||
425 | } | ||
426 | @Override | ||
427 | public Adapter caseCompositeElement(CompositeElement object) { | ||
428 | return createCompositeElementAdapter(); | ||
429 | } | ||
430 | @Override | ||
431 | public Adapter caseChoice(Choice object) { | ||
432 | return createChoiceAdapter(); | ||
433 | } | ||
434 | @Override | ||
435 | public Adapter caseExit(Exit object) { | ||
436 | return createExitAdapter(); | ||
437 | } | ||
438 | @Override | ||
439 | public Adapter caseFinalState(FinalState object) { | ||
440 | return createFinalStateAdapter(); | ||
441 | } | ||
442 | @Override | ||
443 | public Adapter defaultCase(EObject object) { | ||
444 | return createEObjectAdapter(); | ||
445 | } | ||
446 | }; | ||
447 | |||
448 | /** | ||
449 | * Creates an adapter for the <code>target</code>. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @param target the object to adapt. | ||
453 | * @return the adapter for the <code>target</code>. | ||
454 | * @generated | ||
455 | */ | ||
456 | @Override | ||
457 | public Adapter createAdapter(Notifier target) { | ||
458 | return modelSwitch.doSwitch((EObject)target); | ||
459 | } | ||
460 | |||
461 | |||
462 | /** | ||
463 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</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 ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate | ||
470 | * @generated | ||
471 | */ | ||
472 | public Adapter createPseudostateAdapter() { | ||
473 | return null; | ||
474 | } | ||
475 | |||
476 | /** | ||
477 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * This default implementation returns null so that we can easily ignore cases; | ||
480 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
481 | * <!-- end-user-doc --> | ||
482 | * @return the new adapter. | ||
483 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex | ||
484 | * @generated | ||
485 | */ | ||
486 | public Adapter createVertexAdapter() { | ||
487 | return null; | ||
488 | } | ||
489 | |||
490 | /** | ||
491 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'. | ||
492 | * <!-- begin-user-doc --> | ||
493 | * This default implementation returns null so that we can easily ignore cases; | ||
494 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
495 | * <!-- end-user-doc --> | ||
496 | * @return the new adapter. | ||
497 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region | ||
498 | * @generated | ||
499 | */ | ||
500 | public Adapter createRegionAdapter() { | ||
501 | return null; | ||
502 | } | ||
503 | |||
504 | /** | ||
505 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'. | ||
506 | * <!-- begin-user-doc --> | ||
507 | * This default implementation returns null so that we can easily ignore cases; | ||
508 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
509 | * <!-- end-user-doc --> | ||
510 | * @return the new adapter. | ||
511 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition | ||
512 | * @generated | ||
513 | */ | ||
514 | public Adapter createTransitionAdapter() { | ||
515 | return null; | ||
516 | } | ||
517 | |||
518 | /** | ||
519 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'. | ||
520 | * <!-- begin-user-doc --> | ||
521 | * This default implementation returns null so that we can easily ignore cases; | ||
522 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
523 | * <!-- end-user-doc --> | ||
524 | * @return the new adapter. | ||
525 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart | ||
526 | * @generated | ||
527 | */ | ||
528 | public Adapter createStatechartAdapter() { | ||
529 | return null; | ||
530 | } | ||
531 | |||
532 | /** | ||
533 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'. | ||
534 | * <!-- begin-user-doc --> | ||
535 | * This default implementation returns null so that we can easily ignore cases; | ||
536 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
537 | * <!-- end-user-doc --> | ||
538 | * @return the new adapter. | ||
539 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry | ||
540 | * @generated | ||
541 | */ | ||
542 | public Adapter createEntryAdapter() { | ||
543 | return null; | ||
544 | } | ||
545 | |||
546 | /** | ||
547 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'. | ||
548 | * <!-- begin-user-doc --> | ||
549 | * This default implementation returns null so that we can easily ignore cases; | ||
550 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
551 | * <!-- end-user-doc --> | ||
552 | * @return the new adapter. | ||
553 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization | ||
554 | * @generated | ||
555 | */ | ||
556 | public Adapter createSynchronizationAdapter() { | ||
557 | return null; | ||
558 | } | ||
559 | |||
560 | /** | ||
561 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'. | ||
562 | * <!-- begin-user-doc --> | ||
563 | * This default implementation returns null so that we can easily ignore cases; | ||
564 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
565 | * <!-- end-user-doc --> | ||
566 | * @return the new adapter. | ||
567 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State | ||
568 | * @generated | ||
569 | */ | ||
570 | public Adapter createStateAdapter() { | ||
571 | return null; | ||
572 | } | ||
573 | |||
574 | /** | ||
575 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'. | ||
576 | * <!-- begin-user-doc --> | ||
577 | * This default implementation returns null so that we can easily ignore cases; | ||
578 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
579 | * <!-- end-user-doc --> | ||
580 | * @return the new adapter. | ||
581 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState | ||
582 | * @generated | ||
583 | */ | ||
584 | public Adapter createRegularStateAdapter() { | ||
585 | return null; | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * This default implementation returns null so that we can easily ignore cases; | ||
592 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
593 | * <!-- end-user-doc --> | ||
594 | * @return the new adapter. | ||
595 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement | ||
596 | * @generated | ||
597 | */ | ||
598 | public Adapter createCompositeElementAdapter() { | ||
599 | return null; | ||
600 | } | ||
601 | |||
602 | /** | ||
603 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'. | ||
604 | * <!-- begin-user-doc --> | ||
605 | * This default implementation returns null so that we can easily ignore cases; | ||
606 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
607 | * <!-- end-user-doc --> | ||
608 | * @return the new adapter. | ||
609 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice | ||
610 | * @generated | ||
611 | */ | ||
612 | public Adapter createChoiceAdapter() { | ||
613 | return null; | ||
614 | } | ||
615 | |||
616 | /** | ||
617 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'. | ||
618 | * <!-- begin-user-doc --> | ||
619 | * This default implementation returns null so that we can easily ignore cases; | ||
620 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
621 | * <!-- end-user-doc --> | ||
622 | * @return the new adapter. | ||
623 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit | ||
624 | * @generated | ||
625 | */ | ||
626 | public Adapter createExitAdapter() { | ||
627 | return null; | ||
628 | } | ||
629 | |||
630 | /** | ||
631 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'. | ||
632 | * <!-- begin-user-doc --> | ||
633 | * This default implementation returns null so that we can easily ignore cases; | ||
634 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
635 | * <!-- end-user-doc --> | ||
636 | * @return the new adapter. | ||
637 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState | ||
638 | * @generated | ||
639 | */ | ||
640 | public Adapter createFinalStateAdapter() { | ||
641 | return null; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * Creates a new adapter for the default case. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * This default implementation returns null. | ||
648 | * <!-- end-user-doc --> | ||
649 | * @return the new adapter. | ||
650 | * @generated | ||
651 | */ | ||
652 | public Adapter createEObjectAdapter() { | ||
653 | return null; | ||
654 | } | ||
655 | |||
656 | } //YakinduAdapterFactory | ||
657 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java | ||