|Re: Class Diagram cannot survive import [message #1715826 is a reply to message #1715766]
||Thu, 26 November 2015 13:11
|| Christian Damus
Registered: July 2009
The Model Explorer is presenting a convenient fiction: the UML model
content does not reference or otherwise "contain" the diagrams. It is
only the diagrams that sit off to the side in the *.notation resource
that reference the contents of the *.uml resource. The Model Explorer
weaves the diagrams into the tree presentation under the elements that
they reference as their contexts.
It is also worth noting that the Model Explorer view's toolbar has a
toggle switch that changes the presentation to just a flat list of all
the diagrams "in" the model, which makes it easier to discover what is
available to open in the editor.
On 2015-11-25 20:12:54 +0000, Jeffrey Cahoon said:
> You were right.
> If I double click on the class diagram from inside the Model Explorer,
> the class diagram comes up correctly.
> I had only tried to double click on the Papyrus model from the Project
> Explorer and it does not come up correctly, until I have brought it up
> from the Model Explorer.
> After I have double clicked on the Class Diagram from the Model
> Explorer, then I can double click on the Papyrus model in the Project
> Explorer and it works.
> I hadn't tried looking in the Model Explorer because I didn't know that
> the diagram itself became part of the model. I am actually still
> surprised. The model containing a representation of itself seems a
> little twisted.
> No matter. I am happy now that I have a work around.
Powered by FUDForum
. Page generated in 0.01902 seconds