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

Bug 342408

Summary: Remove in Expressions view has no effect
Product: [Tools] TCF Reporter: Anton Leherbauer <aleherb+eclipse>
Component: DebugAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 0.3   
Target Milestone: 0.3.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
TCFNodeExpression adapts to IExpression cdtdoug: iplog-

Description Anton Leherbauer CLA 2011-04-11 04:18:19 EDT
Created attachment 192916 [details]
TCFNodeExpression adapts to IExpression

With active TCF debug session the Remove action in the Expressions view has no effect.  The reason is that RemoveExpressionAction tries to determine the associated IExpression object for the selected model element.  This requires that the model element either implements IExpression or is adaptable to it.

Attached patch makes TCFNodeExpression adaptable to IExpression.
Comment 1 Anton Leherbauer CLA 2011-04-11 04:38:18 EDT
Committed the fix.