From: Keith D. <kd...@cs...> - 2004-06-06 21:30:51
|
Ronald, In general you've hit on some important areas of the framework that need to be developed. I am particularly interested in incorporating lifecycle methods that allow you to insert custom logic at appropriate places in the lifecycle of the rich client app, for example: 1. Before the application is started (for example, allowing you to popup a login prompt that requires authentication to proceed.) 2. Before the main window is displayed 3. Before the "action bars" are constructed 4. After a window is displayed. 5. After a window is closed, etc. I've started doing a bit of this work, but the lifecycle has not yet been appropriately modeled. I hope to revisit work in this area soon, and incorporate user authentication back into the petclinic sample integrated with Acegi security, as it is a very important requirement. Keith -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Ronald Haring Sent: Sunday, June 06, 2004 3:14 PM To: Spr...@li... Subject: [Springframework-rcp-dev] And another question Another one from me, where should I save the state for the entire window (for instance the logged in user)? I thought I would extend ApplicationWindow and add the objects I would like to save, but all of the menu's and toolbars and views and windows are all private, so when using the following definition <bean id="mainWindow" class="some.class.called.MainResourceWindow" singleton="false"> <property name="menuBar"> <ref bean="mainWindowMenuBar"/> </property> <property name="toolBar"> <ref bean="mainWindowToolBar"/> </property> <property name="user"><ref bean="ronald"/></property> </bean> where MainResourceWindow extends ApplicationWindow, I will get erorrs. So should I introduce another state object, or should the properties of ApplicationWindow be protected? Ronald ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Springframework-rcp-dev mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev |