Replacing ShouldSaveDialog in Saveable

Hello. I’m using Theia 1.2.0. I need to replace default saving dialog in editor with my custom implementation.
What I found is return new ShouldSaveDialog(widget).open(); in Saveable, and what I want to achieve is Theia using my custom MySaveDialog class instead. Is there a simple solution?

No. You have to subclass the ApplicationShell, override the track method with your modified Saveable.apply implementation and rebind it in you extension.

Works nicely, thanks