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

Bug 346108

Summary: [Package Diagram] Impossible to create a Package Diagram
Product: [Modeling] Papyrus Reporter: Vincent Hémery <vincent.hemery>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: yann.tanguy
Version: 0.8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

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.