| Summary: | [memory] Show rendering pane when rendering added | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Sean Kennedy <seanpk> | ||||||||
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | chanskw, pawel.1.piech, st.laurent | ||||||||
| Version: | 3.6.1 | ||||||||||
| Target Milestone: | 3.8 M5 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Sean Kennedy
Created attachment 184173 [details]
new API to force the pane to which a rendering has been added to be displayed
I've created a patch to solve this problem based on R_3_6_1_maintenance.
It adds a new method:
org.eclipse.debug.ui.memory.IMemoryRenderingContainer.addMemoryRendering(IMemoryRendering, boolean)
The change to IMemoryRenderingContainer is not backward compatible. Would it be possible to contribute your actions as a generic feature (in a major release)? I took a brief look, I think we need to make IMemoryRenderingContainer2 to make a compatible API. This interface can be implemented by client, and the addition of the method will break existing clients. (e.g. memory browsing view?) I also think we can only do this in Eclipse 3.7, provided we make IMemoryRenderingContainer2. Created attachment 184362 [details]
fix for 3.7; provides IMemoryRenderingContainer2
Created attachment 191940 [details]
Extends IMemoryRenderingSite instead
Samantha suggested that I extend IMemoryRenderingSite instead.
This will require the user to make a second call to display the pane.
Sorry, I reviewed this too late. We have way passed API deadline. I am going to target this for 3.8. I added the requested API as requested. Please let us know if it works out for you. http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=835bb4b9dd92f1317eea08ce38fcfaed0a73bb31 |