|
||||||||||
| 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
org.springframework.richclient.samples.showcase.ShowcaseLifecycleAdvisor
public class ShowcaseLifecycleAdvisor
Custom application lifecycle implementation that configures the sample app at well defined points within its lifecycle.
| Constructor Summary | |
|---|---|
ShowcaseLifecycleAdvisor()
|
|
| Method Summary | |
|---|---|
void |
onCommandsCreated(ApplicationWindow window)
Called just after the command context has been internalized. |
void |
onPostStartup()
Called when the application has fully started. |
boolean |
onPreWindowClose(ApplicationWindow window)
Called when the window is being closed. |
void |
onPreWindowOpen(ApplicationWindowConfigurer configurer)
This method is called prior to the opening of an application window. |
void |
onWindowCreated(ApplicationWindow window)
Called after the actual window control has been created. |
void |
onWindowOpened(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, getApplicationSessionInitializer, getOpeningWindow, getRegisterableExceptionHandler, getStartingPageId, getStatusBar, onPreInitialize, onPreStartup, onShutdown, setApplication, setApplicationSessionInitializer, setOpeningWindow, setRegisterableExceptionHandler, setStartingPageId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShowcaseLifecycleAdvisor()
| Method Detail |
|---|
public void onPreWindowOpen(ApplicationWindowConfigurer configurer)
onPreWindowOpen in class ApplicationLifecycleAdvisorconfigurer - The application window configurerpublic void onCommandsCreated(ApplicationWindow window)
onCommandsCreated in class ApplicationLifecycleAdvisorwindow - The window who's commands have just been createdpublic void onWindowCreated(ApplicationWindow window)
onWindowCreated in class ApplicationLifecycleAdvisorwindow - The window being processedpublic void onWindowOpened(ApplicationWindow window)
onWindowOpened in class ApplicationLifecycleAdvisorwindow - The window being processedpublic boolean onPreWindowClose(ApplicationWindow window)
onPreWindowClose in class ApplicationLifecycleAdvisorwindow - the applicationWindow that should be closed.
true
to allow the close, false to prevent the close.public void onPostStartup()
onPostStartup in class ApplicationLifecycleAdvisor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||