Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346108 - [Package Diagram] Impossible to create a Package Diagram
Summary: [Package Diagram] Impossible to create a Package Diagram
Status: RESOLVED WONTFIX
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 11:28 EDT by Vincent Hémery CLA
Modified: 2013-06-06 05:10 EDT (History)
1 user (show)

See Also:


Attachments
patch (607 bytes, patch)
2011-05-17 12:15 EDT, Yann Tanguy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hémery CLA 2011-05-17 11:28:24 EDT
The "Create a new Package Diagram" action in Model Explorer view no longer works in latest version.

Steps to reproduce :
Create a Papyrus model,
Right click on a package and launch "Create a new Package Diagram" action.
Action looks like it executes but there is no visible effect.

On another hand, the Package Diagram is not proposed for diagrams to create during Papyrus model creation wizard.
It may be related (in case there is a problem in the diagram creation condition).
Comment 1 Yann Tanguy CLA 2011-05-17 12:15:07 EDT
Created attachment 195888 [details]
patch
Comment 2 Yann Tanguy CLA 2011-05-17 12:17:39 EDT
The problem is in the creation command, the owner is tested to be an instance of java.lang.Package instead of org.eclipse.uml2.uml.Package.

The patch will be applied in RC2.
Comment 3 Patrick Tessier CLA 2013-06-06 05:10:32 EDT
Has been already fixed.