|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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.simple.app.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(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, getOpeningWindow, getRegisterableExceptionHandler, getStartingPageId, getStatusBar, onPreInitialize, onPreStartup, onShutdown, 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(ApplicationWindowConfigurer configurer)
onPreWindowOpen
in class ApplicationLifecycleAdvisor
configurer
- The application window configurerpublic void onCommandsCreated(ApplicationWindow window)
onCommandsCreated
in class ApplicationLifecycleAdvisor
window
- The window who's commands have just been createdpublic void onWindowCreated(ApplicationWindow window)
onWindowCreated
in class ApplicationLifecycleAdvisor
window
- The window being processedpublic void onWindowOpened(ApplicationWindow window)
onWindowOpened
in class ApplicationLifecycleAdvisor
window
- The window being processedpublic boolean onPreWindowClose(ApplicationWindow window)
onPreWindowClose
in class ApplicationLifecycleAdvisor
window
- 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 All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |