Composite diagram [message #1794218] |
Mon, 27 August 2018 11:38  |
Eclipse User |
|
|
|
Hi,
I wanted to use collaboration to capture design patterns.Therefore i used composite diagram to be able to use Collaboration,CollaborationRole and CollaboratonUse from the tool palette .I have some questions using collaboration by Papyrus :
1- Do i have to draw class diagram first to be able to create collaborationRoles ?as Papyrus keeps showing a message says that collaborationRole should be a connectableElement which means that it should be a property therefore i had to create a class diagram has two classes (observer and subject) then use the role of the association between those classes in order to be able to create the collaborationRole. is there any trick to avoid creating class diagram and use the collaboration directly?
2- The connector between collaborationRoles has multiplicity (1 to 1) how can i delete multiplicity ? i want to follow the standard of UML2 which doesn't have multiplicity for the connector.
Note: Attached UML2 standard (section 11.7) and example of Observer collaboration
Thanks,
Taghreed
[Updated on: Mon, 27 August 2018 11:46] by Moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.31094 seconds