|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.application.config.ApplicationLifecycleAdvisor
org.springframework.richclient.application.config.DefaultApplicationLifecycleAdvisor
de.orangecafe.amazonrcp.SimpleLifecycleAdvisor
public class SimpleLifecycleAdvisor
Custom application lifecycle implementation that configures the sample app at well defined points within its lifecycle.
| Constructor Summary | |
|---|---|
SimpleLifecycleAdvisor()
|
|
| Method Summary | |
|---|---|
void |
onCommandsCreated(org.springframework.richclient.application.ApplicationWindow window)
Called just after the command context has been internalized. |
void |
onPostStartup()
Called when the application has fully started. |
boolean |
onPreWindowClose(org.springframework.richclient.application.ApplicationWindow window)
Called when the window is being closed. |
void |
onPreWindowOpen(org.springframework.richclient.application.config.ApplicationWindowConfigurer configurer)
This method is called prior to the opening of an application window. |
void |
onWindowCreated(org.springframework.richclient.application.ApplicationWindow window)
Called after the actual window control has been created. |
void |
onWindowOpened(org.springframework.richclient.application.ApplicationWindow window)
Called immediately after making the window visible. |
| Methods inherited from class org.springframework.richclient.application.config.DefaultApplicationLifecycleAdvisor |
|---|
addChildCommandContext, createWindowCommandManager, getChildCommandContexts, getCommandBarFactory, getCommandGroup, getMenuBarCommandGroup, getToolBarCommandGroup, initNewWindowCommandBarFactory, onApplicationEvent, setMenubarBeanName, setToolbarBeanName, setWindowCommandBarDefinitions, setWindowCommandManagerBeanName |
| Methods inherited from class org.springframework.richclient.application.config.ApplicationLifecycleAdvisor |
|---|
afterPropertiesSet, getApplication, getApplicationServices, getOpeningWindow, getRegisterableExceptionHandler, getStartingPageId, getStatusBarCommandGroup, onPreInitialize, onPreStartup, setApplication, setOpeningWindow, setRegisterableExceptionHandler, setStartingPageId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleLifecycleAdvisor()
| Method Detail |
|---|
public void onPreWindowOpen(org.springframework.richclient.application.config.ApplicationWindowConfigurer configurer)
onPreWindowOpen in class org.springframework.richclient.application.config.ApplicationLifecycleAdvisorconfigurer - The application window configurerpublic void onCommandsCreated(org.springframework.richclient.application.ApplicationWindow window)
onCommandsCreated in class org.springframework.richclient.application.config.ApplicationLifecycleAdvisorwindow - The window who's commands have just been createdpublic void onWindowCreated(org.springframework.richclient.application.ApplicationWindow window)
onWindowCreated in class org.springframework.richclient.application.config.ApplicationLifecycleAdvisorwindow - The window being processedpublic void onWindowOpened(org.springframework.richclient.application.ApplicationWindow window)
onWindowOpened in class org.springframework.richclient.application.config.ApplicationLifecycleAdvisorwindow - The window being processedpublic boolean onPreWindowClose(org.springframework.richclient.application.ApplicationWindow window)
onPreWindowClose in class org.springframework.richclient.application.config.ApplicationLifecycleAdvisortrue
to allow the close, false to prevent the close.public void onPostStartup()
onPostStartup in class org.springframework.richclient.application.config.ApplicationLifecycleAdvisor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||