public interface AppLifecycleListener
Modifier and Type | Interface and Description |
---|---|
static class |
AppLifecycleListener.Adapter
Deprecated.
please use
AppLifecycleListener directly |
Modifier and Type | Field and Description |
---|---|
static Topic<AppLifecycleListener> |
TOPIC |
Modifier and Type | Method and Description |
---|---|
default void |
appClosing()
Fired before saving settings and before final 'can exit?' check.
|
default void |
appFrameCreated(java.util.List<java.lang.String> commandLineArgs)
Called before an application frame is shown.
|
default void |
appFrameCreated(java.util.List<java.lang.String> commandLineArgs,
Ref<? super java.lang.Boolean> willOpenProject)
Deprecated.
|
default void |
appStarting(Project projectFromCommandLine)
Called after an application frame is shown.
|
default void |
appWillBeClosed(boolean isRestart)
Fired after saving settings and after final 'can exit?' check.
|
default void |
projectFrameClosed()
Called when a project frame is closed.
|
default void |
projectOpenFailed()
Called if the project opening was cancelled or failed because of an error.
|
default void |
welcomeScreenDisplayed()
Called when the welcome screen is displayed (not called if the application opens a project).
|
static final Topic<AppLifecycleListener> TOPIC
@Deprecated default void appFrameCreated(java.util.List<java.lang.String> commandLineArgs, Ref<? super java.lang.Boolean> willOpenProject)
appFrameCreated(List)
default void appFrameCreated(java.util.List<java.lang.String> commandLineArgs)
default void welcomeScreenDisplayed()
default void appStarting(Project projectFromCommandLine)
default void projectFrameClosed()
default void projectOpenFailed()
default void appClosing()
ApplicationListener
listeners return false from their canExitApplication
method.default void appWillBeClosed(boolean isRestart)