Skip to content
Snippets Groups Projects
  1. Jun 09, 2020
  2. May 29, 2020
  3. May 19, 2020
  4. May 18, 2020
  5. May 15, 2020
  6. May 08, 2020
  7. Apr 29, 2020
  8. Apr 27, 2020
  9. Apr 17, 2020
  10. Apr 14, 2020
  11. Mar 30, 2020
  12. Mar 26, 2020
  13. Feb 04, 2020
  14. Dec 19, 2019
  15. Dec 09, 2019
  16. Nov 18, 2019
  17. Nov 14, 2019
  18. Nov 11, 2019
  19. Nov 08, 2019
  20. Oct 18, 2019
  21. Oct 15, 2019
  22. Oct 07, 2019
  23. Oct 01, 2019
  24. Sep 30, 2019
  25. Sep 26, 2019
  26. Sep 10, 2019
  27. Aug 27, 2019
    • Alexander Diewald's avatar
      MigrationService: Reimplement the internal logic · d419ffdd
      Alexander Diewald authored
      * The service now checks a given input element for the presence of
        migrateable elements if migration providers are queried. By that,
        the registration w.r.t. an element type actually makes sense. Before,
        only the needsMigration(...) method was evaluated.
      * Simplify the needsMigration(...) method to indicate whether any
        migration provider applicable for the given input reports the need
        for migration.
      * Simplify the migrate(...) logic that will now also report failed
        migrations: the need for migration is checked after the actual
        migration.
      * Do not register migrators for ITopLevelElements any more! Instead,
        declare the type that is really relevant for the migration. If you
        need to be launched in every case (avoid that!!!!) one can register
        for FileProject or EObject.
      
      Issue-Ref: 3806
      Issue-Url: https://af3-developer.fortiss.org/issues/3806
      
      
      Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
      d419ffdd
    • Alexander Diewald's avatar
      Kernel-Services: Move model loading to from init to start phase · 6c64c932
      Alexander Diewald authored
      * The initialization phase shall ensure that all required information
        about handlers, element types they process etc. are available. It can
        be considered the configuration phase that is later used to process
        instances of elements.
      * This change ensures that models are only loaded at the beginning of
        the startup phase such that all services are ready when instances
        of elements shall be processed.
      * In particular, this modification will be needed to instantiate all
        missing annotations when a model is loaded to fulfill the respective
        constraint that annotations are always present at model elements for
        whose type they were registered.
      * Therefore, a migrator is used. They are executed by a callback from
        the postLoad routine that will also be fired when importing models to
        avoid code duplication. Thus, in order to ensure that the annotation
        service is aware of all present annotations, it must be initialized
        before the model is loaded.
      * AF3 startup works as normal and all functionality seems OK. Since this
        is an invasive change under the hood, problems would be noticeable
        immediately, so this one should be fine as no obvious errors could be
        seen.
      
      Issue-Ref: 3746
      Issue-Url: https://af3-developer.fortiss.org/issues/3746
      
      
      Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
      6c64c932
    • Alexander Diewald's avatar
    • Alexander Diewald's avatar
      Revert 21f4d0f3 · a5537087
      Alexander Diewald authored
      
      Issue-Ref: 3746
      Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
      a5537087
Loading