Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327422 - [SysML Block Definition Diagram] FlowPort should be created on the place of the click
Summary: [SysML Block Definition Diagram] FlowPort should be created on the place of t...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 326168
Blocks:
  Show dependency tree
 
Reported: 2010-10-11 05:00 EDT by Tatiana Fesenko CLA
Modified: 2011-04-20 03:47 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 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