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

Bug 331021

Summary: [SysML Internal Block Diagram] Cannot create an IBD in the context of a Block
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: M6   
Hardware: PC   
OS: All   
Whiteboard:

Description Yann Tanguy CLA 2010-11-24 09:34:06 EST
Cannot create an IBD in the context of a Block:
1. Select a Block
2. Create an IBD
3. The IBD is empty (context Block not visible) and cannot be used
Comment 1 Yann Tanguy CLA 2010-11-24 10:08:38 EST
Fixed in r3320.
Comment 2 Yann Tanguy CLA 2010-11-24 10:08:56 EST
Fixed in r3320.
Comment 3 Yann Tanguy CLA 2010-12-22 08:02:01 EST
Bug reopened:
- This issue still occurs when Papyrus and an IBD are opened and no element have been created in diagram after Papyrus was started.

The diagram creation command tries to create a View of a Block without providing the Semantic hint of the view to create.
Currently, the view provider is declared in the plugin.xml for an activation in the context of a set of SemanticHints. To activate the View provider class when the semantic hint is null, the semantic element also declared as a possible activation context of the view provider.
Comment 4 Yann Tanguy CLA 2010-12-22 08:14:53 EST
Fixed in r3595.
Comment 5 Yann Tanguy CLA 2010-12-22 08:16:03 EST
Fixed in r3595.