Community
Participate
Working Groups
The selection service implementation has grown to be a rather complicated combination of DS, creation functions, trackers, and computed functions. This creates problems in CPU performance and debugging.
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.