Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331021 - [SysML Internal Block Diagram] Cannot create an IBD in the context of a Block
Summary: [SysML Internal Block Diagram] Cannot create an IBD in the context of a Block
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: M6   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 09:34 EST by Yann Tanguy CLA
Modified: 2011-04-20 03:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.