| Summary: | [Memory Browser] Need a way to change the rendering type of the active tab | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Norman Yee <normankyee> | ||||||
| Component: | cdt-memory | Assignee: | cdt-debug-inbox <cdt-debug-inbox> | ||||||
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, john.cortell, jonah | ||||||
| Version: | 7.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| See Also: | https://git.eclipse.org/r/84748 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Norman Yee
I implemented it by: 1) adding a public selectRendering() method to MemoryBrowser.java. It takes a rendering type id parameter which specifies the new rendering type. selectRendering() updates the active tab's memory contents with the new rendering type. 2) in my debugger plugin, I added to the memory tab, a context menu that lists the available rendering types. When the user clicks on one of the available rendering types, it invokes selectRendering() with the selected rendering type id. I'll attach a patch for selectRendering() since I would like this method included in the memory browser plugin. Created attachment 190754 [details]
selectRendering() patch, including fixes for bugs 338545 and 338589
Created attachment 190779 [details]
Fix
Quick question: there is no "Integer" option in the "Default Rendering" menu. Are you using some custom renderings in your product? (In reply to comment #4) > Quick question: there is no "Integer" option in the "Default Rendering" menu. > Are you using some custom renderings in your product? Yup. New Gerrit change created: https://git.eclipse.org/r/84748 |