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

Bug 327422

Summary: [SysML Block Definition Diagram] FlowPort should be created on the place of the click
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Tatiana Fesenko <tatiana.fesenko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 326168    
Bug Blocks:    

Description Tatiana Fesenko CLA 2010-10-11 05:00:22 EDT
Create a new Block Definition Diagram
Create a Block
Create any kind of FlowPort or Port - it will be created at top-left corner of the block (0,0 coorinates), but it should be created on the place of the click
Comment 1 Tatiana Fesenko CLA 2010-10-11 05:23:44 EDT
The problem was caused by the fact that no edit policy provided bounds for the view (no SetCoundsCommand).
I installed StructuredClassifierLayoutEditPolicy to BlockEditPart
Comment 2 Tatiana Fesenko CLA 2010-10-11 05:24:48 EDT
Fixed in 2922