Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318627 - [All Diagrams] Delete from diagram no more deletes related elements (attached links...)
Summary: [All Diagrams] Delete from diagram no more deletes related elements (attached...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 11:15 EDT by Yann Tanguy CLA
Modified: 2010-07-01 16:48 EDT (History)
3 users (show)

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-07-01 11:15:57 EDT
Delete from diagram no more deletes related elements (attached links...)
Comment 1 Yann Tanguy CLA 2010-07-01 16:46:02 EDT
It seems that this issue is due to the EditHelper registered in the creation service being selected.
Currently the context defined in the creation service is always enabled and becomes selected instead of diagram specific (in particular for "Delete from model" / "Delete from Diagram" commands). This should be improved to make a better use of the creation service, but for now and to avoid problem with gmf generated diagram I add a matcher in order to always disable the context defined in creation service. This does not mean that it cannot be used but that the context has to be explicitly provided to use the creation services.

(done in r2180).
Comment 2 Yann Tanguy CLA 2010-07-01 16:48:53 EDT
(done in r2180).