Community
Participate
Working Groups
The communication diagram uses the same ids as the sequence diagram which causes many errors in both diagrams. ID uses in the communication diagram should be modified.
I do not understand how diagram that contains same ID can have influence between them. for example use case class composite share same visual id and there is no problem. Do you share same factories or providers?
It causes errors with the UMLViewProvider and the palette for instance. See 318702 where the palette no more create a sequence lifeline but a communication lifeline which is not enabled on the sequence diagram
Visual IDs are not the origin of lifeline creation problem. The problem comes from the ID of the lifeline tool Entry in the palette. The two entries share the same identidy "createLifeline1CreationTool". In fact, A proxy for a palette factory that instantiates the real factory on demand (when a palette entry is selcted), is based on the ID of the tool entry. So it can instantiate a sequence diagram palette factory for a communication lifeline and vice versa !! I have modified the id of the communication lifeline entry and now we can create lifelines in both diagrams.
Done in r2493 for Branch 0.7.x The Lifeline Palette Tool Entry name is changed to createLifelineComCreationTool. The name was createLifeline1CreationTool, which is the same name of the lifeline palette tool entry in the sequence diagram. That was the origin of the conflict problem between the two diagrams when creating lifeline. S. Dhouib Contribution
Done in r2504 for the Head Branch. Contributed by S. Dhouib