Community
Participate
Working Groups
With the fix for the bug 372992 it becomes important for the EPartService to distinguish between "specific" requests to save a part and requests generated by closing modified part. On a more general note, the implementation should mimic that of WorkbenchPage#closeEditors() which both does a few extra things comparing to the 4.x part service and is used by the command handler (both in 3.x and 4.x) The structure of e4 compatibility layer will complicate this change as e4 service can't be made dependent on org.eclipse.ui.workbench. Hence, underlying functionality from WorkbenchPage#closeEditors() would need to be properly duplicated in e4 code.
What about the compat layer pushing a modified EPartService into the root-context?
(In reply to comment #1) > What about the compat layer pushing a modified EPartService into the > root-context? That is a possibility. This will create a difference between how part service works in SDK and RCP, but that might be OK.
AFAIK the current idea is to keep the core services simple. Marking as WONTFIX.