Bug 418644 - Papyrus shall enable to easily switch a local model library (Package import) to a registered one
Summary: Papyrus shall enable to easily switch a local model library (Package import) ...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P2 enhancement with 1 vote (vote)
Target Milestone: SR2   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 432144 (view as bug list)
Depends on:
Blocks: 410985 410987
  Show dependency tree
 
Reported: 2013-10-04 02:30 EDT by Patrik Nandorf CLA
Modified: 2014-09-19 05:56 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrik Nandorf CLA 2013-10-04 02:30:07 EDT
It should be possible to, e.g. in a migration scenario from another tool, to import models with package imports of models in the workspace (local) and easily switch them to a corresponding registered package. 

This is similar to what is described in Bug 408491 but for model libraries / package imports

It relates to MigrateReq1
Comment 1 Camille Letavernier CLA 2013-10-16 04:51:22 EDT
The Runtime for this action already exists.

The GUI needs to be implemented
Comment 2 Remi Schnekenburger CLA 2014-04-07 07:27:19 EDT
*** Bug 432144 has been marked as a duplicate of this bug. ***
Comment 3 Remi Schnekenburger CLA 2014-04-11 09:47:10 EDT
First commit (df785292533c5d0d2cc94b16d7ba79a65924a527) on master 

Still open, as there should be at least 2 updates: 
- one to manage switch resource in general, not only packageimports
- one that unload the initial imported resource, so it can not be used anymore in the model
Comment 4 Camille Letavernier CLA 2014-09-19 05:56:15 EDT
Commit 1e5f232 (Luna), 43e452d (Mars):

- Add support for all referenced resources (Not just Package Imports)
- Add support for proxies (Allow reparation of models when some resources have been moved, and the initial resource doesn't exist anymore)