Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328506 - [ElementTypes] EditHelper getDestroyDependentCommand ignored when a specific IClientContext is required
Summary: [ElementTypes] EditHelper getDestroyDependentCommand ignored when a specific ...
Status: NEW
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 328232
Blocks: 324966
  Show dependency tree
 
Reported: 2010-10-22 15:15 EDT by Yann Tanguy CLA
Modified: 2017-08-07 11:29 EDT (History)
1 user (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-10-22 15:15:33 EDT
See : Bug328232 (GMF Runtime)

Workaround : 

override getDestroyElementWithDependentsCommand and getDestroyElementCommand and propagate Papyrus shared IClientContext when
getElementType method is called.
Comment 1 Yann Tanguy CLA 2010-10-22 15:22:49 EDT
Workaround committed in r3006.
Comment 2 Yann Tanguy CLA 2010-12-17 10:04:56 EST
In r3575:
- Same kind of workaround as the previous one, used to make sure all advice are correctly retrieved in case the ClientContext is required.