Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] FileEditorInput - controlling close/save events

I open a Word file in an editor using FileEditorInput class:
page.openEditor(fileEditorInput, IEditorRegistry.SYSTEM_INPLACE_EDITOR_ID);

When user closes the editor, I am asked if the user want to save changes prior to closing [yes/no/cancel]. Where can I plug my code to replace the default question, with my own question and different set of buttons [yes/no/yes and do sth extra/yes and .../cancel].
Is it much different when closes many editors at a time?

Darek


Back to the top