| Summary: | Allow the hosting of Views and Editors independent of the presentation | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Eric Moffatt <emoffatt> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, john.arthorne, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
|
Description
Eric Moffatt
M2 is done... Pushed in >20111201. commit 0d6cd94911dcb221379022563d11ed7f4c71ff91 This is comprised of two parts: 1) Adding a 'hostElement' call to the EModelService (which takes care of the boiler-plate needed to render the hosted element) as well as a corresponding 'isHostedElement' method (used by the PartServiceImpl to allow activation of hosted elements. 2) Changing the EModelService to be a singleton service at the E4Application context's level. There was no need to be creating multiple instances and now that it registers a model listener (to clean up hosted elements on close) we don't want to even instantiate the multiple versions any more (so we only have one listener). Moving to M5. This could likely be marked fixed but needs some more soak time... (In reply to comment #3) > > Moving to M5. This could likely be marked fixed but needs some more soak > time... Eric can you clarify what this means. Does hosting of views/editors in dialogs work, or not. The basics work but I was hoping that someone would try it out and provide feedback. I haven't had time to test this at all thoroughly. If we can finally get to doing some forward looking enhancements the first candidate should be putting an instance of the 'ErrorLog' view directly into the error dialog itself. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |