Bug 538302 - Support Part local SaveHandlers/CloseHandlers
Summary: Support Part local SaveHandlers/CloseHandlers
Status: NEW
Alias: None
Product: e4
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-27 06:15 EDT by Christoph Laeubrich CLA
Modified: 2018-08-27 06:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Laeubrich CLA 2018-08-27 06:15:17 EDT
Currently the ISaveHandler and ICloseHandler are global to the window see https://www.eclipse.org/forums/index.php/t/485714/ for example.
It would be good to have some mean to supply part local ones so the global behaviour can be overriden for one specific part.

For exmaple something like:

part.getContext().set(ISaveHandler.class, new ISaveHandler() {...});