Skip to content
Snippets Groups Projects
Commit 105c658c authored by Simon Barner's avatar Simon Barner
Browse files

Rework handling of missing and duplicated IDs


- UniqueIdUtils:
    - Remove fixMissingIDs(final ITopLevelElement modelElement)
      (only used in one place)
    - fixMissingIDs(EObject object, EObject existingModel): Do not wrap
      model modification into a command. This is up to the caller of
      this method (e.g., the command stack is not available in tests) 
- Remove IDMigrationProvider: Fixup of missing / duplicated is handled
  in ModelContext
- ModelContext: Use nonDirtyingCommand, and automatically save model
  in case IDs have been fixed

Issue-Ref: 3369
Signed-off-by: default avatarSimon Barner <barner@fortiss.org>
parent fe9ea64a
No related branches found
No related tags found
1 merge request!23369 fix missing ids no command
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment