|
Re: Possible Error in Papyrus [message #1778652 is a reply to message #1778596] |
Tue, 19 December 2017 10:30 |
Shuai Li Messages: 21 Registered: March 2016 Location: Paris Saclay, France |
Junior Member |
|
|
Hi,
The generated code is conform to navigability in the UML specification, i.e. if C1 cannot navigate to class C2, then a reference of C2 should not be generated in C1.
When you created the association, are you sure both member ends of the association are navigable? Navigability of member ends can be specified by clicking on the association, and checking its properties in the Properties view. Note that you can directly create navigable associations with the palette of the class diagram, by using the Directed Association tool (or one of the other similar tools in the palette). If the members ends are navigable, they should then be contained in the classes themselves (instead of the association) as UML::Property of the classes. In the diagram, a "dot" should appear on any association member end that is navigable.
Hope this helps.
|
|
|
|
Re: Possible Error in Papyrus [message #1778752 is a reply to message #1778724] |
Wed, 20 December 2017 20:45 |
|
Hello Eduardo,
If you create a property (or operation) in the model explorer, it may not show up in the element compartment on a diagram.
Have you tried to right-click on the diagram element and selecting "Filters > Show/Hide Contents" in order to show what you need to see?
Alternately, you if you always want to see all the content, you could turn on "Filters > Synchronized with model."
/Charles Rivet
|
|
|
Powered by
FUDForum. Page generated in 0.04300 seconds