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

Bug 352795

Summary: [expressions] Enable in-line editing of expression activated by File->Rename action.
Product: [Tools] CDT Reporter: Pawel Piech <pawel.1.piech>
Component: cdt-debug-dsfAssignee: Pawel Piech <pawel.1.piech>
Status: RESOLVED FIXED QA Contact: Pawel Piech <pawel.1.piech>
Severity: normal    
Priority: P3 CC: cdtdoug, wlai
Version: 8.0Flags: pawel.1.piech: review? (pchuong)
Target Milestone: 8.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Fix.
none
Patch after doing a pull... pawel.1.piech: iplog-

Description Pawel Piech CLA 2011-07-21 14:26:23 EDT
The expression view added a feature which enables editing the expressions using the File->Rename action short-cut (F2).  It enables in-line cell editing when in column mode and dialog popup for no-columns mode.

However, this feature does not work for DSF because DSF uses its own column IDs. The attached patch would change one of the expression view column ID constants to match the platform name column ID.  The referred ID is in an internal class, however it's one of the internal classes that's become a de-facto API in platform and we'll make sure to provide backward compatibility in case they need to be changed.
Comment 1 Pawel Piech CLA 2011-07-21 14:28:26 EDT
Created attachment 200113 [details]
Fix.
Comment 2 Pawel Piech CLA 2011-07-21 14:32:06 EDT
Created attachment 200114 [details]
Patch after doing a pull...
Comment 3 Pawel Piech CLA 2011-07-21 14:44:46 EDT
I pushed the fix to cdt8_0 and master.  Patrick please review.
Comment 4 CDT Genie CLA 2011-07-21 15:19:22 EDT
*** cdt git genie on behalf of 352795 ***

    Bug 352795 - [expressions] Enable in-line editing of expression
    activated by File-&gt;Rename action.

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=48646a0cbda2b22e427a66848bf18969e32efd7b
Comment 5 CDT Genie CLA 2011-07-21 15:19:25 EDT
*** cdt git genie on behalf of 352795 ***

    Bug 352795 - [expressions] Enable in-line editing of expression
    activated by File-&gt;Rename action.

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fcaa5b68b9c5bb99fc101ffbaa37fb9d89599c73