Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318702 - [Sequence Diagram] LifeLine creation is not enabled in the palette
Summary: [Sequence Diagram] LifeLine creation is not enabled in the palette
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Thibault Landré CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 319949 (view as bug list)
Depends on: 318977
Blocks:
  Show dependency tree
 
Reported: 2010-07-02 08:24 EDT by alanusse Mising name CLA
Modified: 2010-08-05 07:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alanusse Mising name CLA 2010-07-02 08:24:31 EDT
It must be possible to create a LifeLine through the palette.
Drop a Lifeline from the palette into a sequence diagram (interaction compartment) is not enabled. 

Thankfully, the context tool in the diagram permits LifeLine creation, but this must be corrected.
Comment 1 Thibault Landré CLA 2010-07-02 08:35:25 EDT
It works for me. 
Can you give me some example / procedure ? 

I can create a lifeline from the palette into the diagram. It can also be created using the popup bars.
Comment 2 alanusse Mising name CLA 2010-07-02 08:51:58 EDT
(In reply to comment #1)
> It works for me.
> Can you give me some example / procedure ?
> 
> I can create a lifeline from the palette into the diagram. It can also be
> created using the popup bars.
1. I create a new sequence diagram using the menu in the Model Explorer
A new interaction is created
A new diagram is created with an empty diagram 
2. I take the LineLine Element from the palette and I try to drop it within the interaction compartment I cannot
if I take the LifelineElement from the popup bar it works
Comment 3 Thibault Landré CLA 2010-07-06 04:49:07 EDT
Error coming from the Communication Diagram, because it is using the same id as the sequence diagram.
It will be corrected with the new version of the Communication diagram.
Comment 4 saadia dhouib CLA 2010-07-26 11:47:04 EDT
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.
Comment 5 Thibault Landré CLA 2010-08-02 04:40:50 EDT
*** Bug 319949 has been marked as a duplicate of this bug. ***
Comment 6 Thibault Landré CLA 2010-08-05 07:51:45 EDT
thanks Saadia, it works now. 

I mark this bug fixed