Missing diagrams and stereotypes; splitting models [message #1803198] |
Mon, 25 February 2019 04:30  |
Eclipse User |
|
|
|
I want to separate a "library" package of my model in an extra model. Then in library model stereotypes and diagrams are missing.
The following steps (reproducible according attachment), I performed.
1. model-architecture in folder model-architecture-source created
2. model-architecture.uml, model-architecture.di, model-architecture.notation copied to folder models-split
3. model-library created in folder models-split with the same applied profiles as for model-architecture
4. model-library imported in model-architecture (in folder models-split) by "Import Package From User Model" and Import All
5. package library-package moved to model-library, Enable Write for model-library files confirmed
6. model-architecture saved and closed
7. model-library opened => MARTE stereotypes and classdiagram Mp1 are missing
I use Eclipse IDE for C/C++ Developers Photon 4.8 and Papyrus software Designer 1.1.0
|
|
|
|
|
Re: Missing diagrams and stereotypes; splitting models [message #1804399 is a reply to message #1804319] |
Mon, 25 March 2019 09:55   |
Eclipse User |
|
|
|
Hello Michael,
I confirm the problem. The stereotype are still in the file model-architecture.uml. and the diagram is still in model-architecture.notation after the move.
It is not exactly the same feature, but you could create your library as sub Package of your model, il will avoid to loast stereotype application and diagram.
So in model-architecture.uml, from the Papyrus model Explorer view, select library-package, then Right-Click->Model Refactor -> Create Submodel. , then save.
Now your library is in it own package model, but displayed as an externalized subpackage of model-architecture.
FYI, I fill the bug 545749: Move elements in a library doesn't work properly
https://bugs.eclipse.org/bugs/show_bug.cgi?id=545749
Regards,
--
Vincent
|
|
|
Re: Missing diagrams and stereotypes; splitting models [message #1804400 is a reply to message #1804319] |
Mon, 25 March 2019 09:56  |
Eclipse User |
|
|
|
Hello Michael,
I confirm the problem. The stereotype are still in the file model-architecture.uml. and the diagram is still in model-architecture.notation after the move.
It is not exactly the same feature, but you could create your library as sub Package of your model, il will avoid to loast stereotype application and diagram.
So in model-architecture.uml, from the Papyrus model Explorer view, select library-package, then Right-Click->Model Refactor -> Create Submodel. , then save.
Now your library is in it own package model, but displayed as an externalized subpackage of model-architecture.
FYI, I fill the bug 545749: Move elements in a library doesn't work properly
https://bugs.eclipse.org/bugs/show_bug.cgi?id=545749
Regards,
--
Vincent
|
|
|
Powered by
FUDForum. Page generated in 0.03779 seconds