| Summary: | Simplify selection service implementation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Oleg Besedin <ob1.eclipse> | ||||
| Component: | UI | Assignee: | Oleg Besedin <ob1.eclipse> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | david_williams, emoffatt, pwebster, remy.suen | ||||
| Version: | 4.2 | ||||||
| Target Milestone: | 4.2 M6 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Oleg Besedin
Created attachment 209938 [details]
Patch
Patch to be applied once M6 starts.
Changes:
gone:
SelectionLookupFunction
SelectionServiceCreationFunction
ApplicationSelectionServiceImpl
PartSelectionServiceImpl
ESelectionService.SELECTION (API, deprecated) (use IServiceConstants.ACTIVE_SELECTION)
added:
SelectionAggregator (this is what SelectionServiceImpl used to be)
E4Application#initializeServices() - place to initialize services we need in app & window contexts, potential API
changed:
SelectionServiceImpl - now a wrapper that remembers its context and delegates everything to SelectionAggregator
Remy found a problem when closing 2nd workbench window, this should fix it: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=2e7be1c5681fb49132e593d4072a42d5eff8db7e . Verified that code is present in the I20120313-0610. |