Skip to content
Snippets Groups Projects
  1. Oct 09, 2019
  2. Oct 08, 2019
  3. Oct 07, 2019
  4. Oct 01, 2019
  5. Sep 30, 2019
  6. Sep 26, 2019
  7. Sep 16, 2019
  8. Sep 14, 2019
  9. Sep 10, 2019
  10. Sep 06, 2019
  11. Sep 04, 2019
  12. Sep 03, 2019
  13. Sep 02, 2019
  14. Aug 27, 2019
    • Alexander Diewald's avatar
      Import: Fix cyclic loading due to use of wrong save method (now) · b6ccd536
      Alexander Diewald authored
      * Replace doSaveAndResetLastChangeWasIntended with the standard doSave
        call to avoid cyclic execution of the runInWorkspace method.
      * Regression w.r.t. #2140 does not occur.
      * Remove doSaveAndResetLastChangeWasIntended as it is no longer needed.
        It was a workaround anyways.
      * Use a non-Dirtying command to execute the migration service. We don't
        want to undo this step.
      
      Issue-Ref: 3806
      Issue-Url: https://af3-developer.fortiss.org/issues/3806
      
      
      Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
      b6ccd536
    • 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
Loading