public class DefaultWelcomeService extends AbstractService implements WelcomeService
| Constructor and Description | 
|---|
DefaultWelcomeService()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
displayWelcome()
Displays the welcome greeting. 
 | 
boolean | 
isFirstRun()
Returns true iff this version of the running SJC application has not run
 before. 
 | 
protected void | 
onEvent(UIShownEvent evt)
Displays the welcome text when a UI is shown for the first time. 
 | 
void | 
setFirstRun(boolean firstRun)
Sets a preference recording whether this version of the dominant SJC
 application has run. 
 | 
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic void displayWelcome()
WelcomeServicedisplayWelcome in interface WelcomeServicepublic boolean isFirstRun()
WelcomeServiceisFirstRun in interface WelcomeServicepublic void setFirstRun(boolean firstRun)
WelcomeServicesetFirstRun in interface WelcomeServiceprotected void onEvent(UIShownEvent evt)
Copyright © 2015–2022 SciJava. All rights reserved.