Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329236

Summary: [Class Diagram]Cannot drag a class from model to diagram
Product: [Modeling] Papyrus Reporter: Yannick DuchĂȘne (Hibou57) <yannick_duchene>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: RESOLVED INVALID QA Contact:
Severity: blocker    
Priority: P3    
Version: 0.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Yannick DuchĂȘne (Hibou57) CLA 2010-11-02 03:49:05 EDT
If a model contains a class node, and a class diagram is opened, the class node cannot be dragged to the diagram. This is blocking, as there is no way to create a diagram from a model (or else only diagrams without classes).

The only way to add a class, seems to create a class in the diagram from the palette.
Comment 1 Vincent Lorenzo CLA 2010-11-04 05:47:11 EDT
How do you get this bug? I can't reproduce it.
I have create a new Papyrus Project without Diagram.
In the model Explorer,
	1/ I added a Class to the Model
	2/ I added a Class Diagram
	3/ I drop the Class inside the Class Diagram without problem...
Comment 2 Yannick DuchĂȘne (Hibou57) CLA 2010-11-04 06:01:23 EDT
Sorry Vincent, I lack some precisions.

Do the following (a variation)

- Create a model
- In the model explorer, add a package
- Then add a class
- Create a class diagram
- Drag the package to the model
- Drag the class onto the package.

When the class hover the package, it disappears. I seems lost by the way and I've checked it is dropped nowhere.

By the way (sorry to be off-topic), do you know a step by step document to build and run Papyrus from source ? I looked at the cook-book, but this does not help me.
Comment 3 Vincent Lorenzo CLA 2010-11-04 08:47:11 EDT
I'm sorry, I tested with the last version and I can't reproduce your bug. 
For your question, I answer directly on your email.
Comment 4 Patrick Tessier CLA 2011-01-03 09:38:12 EST
I cannot succed to repoduce this bug. So I close it