| Summary: | E4Application#stop cannot shutdown the workbench | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Brian de Alwis <bsd> | ||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | remy.suen | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 4.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Brian de Alwis
Does calling stop() on the IPresentationEngine work? (In reply to comment #1) > Does calling stop() on the IPresentationEngine work? IPE#stop() does work; in fact, E4Workbench#close() simply calls IPE#stop(). But E4Workbench#close() could have other things to do in the future. My workaround for now is to call IWorkbench#close() from the Exit command handler (org.eclipse.ui.file.exit). Created attachment 189143 [details]
patch to stash the workbench in a field and cause E4Application#stop() to call #close()
Created a patch to stash the workbench in a field and cause E4Application#stop() to call E4Workbench#close()
Committed to HEAD |