pankajp/envisage — comment on commit f0e3766edccc24eed09115e1d0da6b848f47f3ff
File:  line 0
By mchilvers:

Looks sensible to me. The only thing that seems odd in our API is that 'run' seems more suited to 'batch' style programs (i.e. those without an event loop). I think in TasksApplication we should override 'start' to start the event loop etc, and 'stop' to close any open windows (of course if the user is stopping the application by closing the last open window there won't be any of those!). Then any 'Exit' or 'Quit' action in the UI simply calls application.stop...