|
From: Lieven D. (JIRA) <no...@sp...> - 2008-11-13 16:07:44
|
[ http://jira.springframework.org/browse/RCP-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo resolved RCP-559.
------------------------------
Assignee: Lieven Doclo
Resolution: Fixed
patch applied
> Clean Shutdown due to exception...
> ----------------------------------
>
> Key: RCP-559
> URL: http://jira.springframework.org/browse/RCP-559
> Project: Spring Rich Client Project
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0.0
> Reporter: Benoit Xhenseval
> Assignee: Lieven Doclo
> Priority: Minor
> Fix For: 1.1.0
>
> Attachments: Application.java.patch
>
>
> As discussed with Geoffrey and on the forum:
> http://forum.springframework.org/showthread.php?t=55945
> At the moment, it is not possible to detect a forced shutdown due to an exception; if the application implements a method onPreWindowClose in DefaultApplicationLifecycleAdvisor to ask the user if they are sure that they want to close the window, the application should not ask this question, furthermore at the moment, the results are ignored
> I would like to submit a patch on Application which will keep the state "forceShutdown" when the Application.close(true, n) is called.
> The method onPreWindowClose can then query this flag.
> I believe it is reasonable and increase the flexibility.
> Thanks for considering it
> Benoit
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|