Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342408 - Remove in Expressions view has no effect
Summary: Remove in Expressions view has no effect
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Debug (show other bugs)
Version: 0.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.3.1   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 04:18 EDT by Anton Leherbauer CLA
Modified: 2011-05-17 10:45 EDT (History)
1 user (show)

See Also:


Attachments
TCFNodeExpression adapts to IExpression (1.45 KB, patch)
2011-04-11 04:18 EDT, Anton Leherbauer CLA
cdtdoug: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.