public class DefaultAppService extends AbstractSingletonService<App> implements AppService
| Constructor and Description |
|---|
DefaultAppService() |
| Modifier and Type | Method and Description |
|---|---|
App |
getApp()
Gets the foremost application (the one with the highest priority).
|
App |
getApp(String name)
Gets an application by name.
|
Map<String,App> |
getApps()
Gets the table of associated applications, keyed by name.
|
Class<App> |
getPluginType()
Gets the type of plugins managed by this service.
|
protected void |
onEvent(AppAboutEvent event) |
protected void |
onEvent(AppPreferencesEvent event) |
protected void |
onEvent(AppQuitEvent event) |
create, filterInstances, getInstance, getInstances, initializegetPlugins, getPluginServicedispose, getContext, registerEventHandlers, setContext, toStringcompareTo, getInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInstance, getInstancescreate, getPlugins, getPluginServiceinitialize, registerEventHandlerscontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfodisposepublic App getApp()
AppServicegetApp in interface AppServicepublic App getApp(String name)
AppServicegetApp in interface AppServicepublic Map<String,App> getApps()
AppServicegetApps in interface AppServicePlugin.name()public Class<App> getPluginType()
PTServicegetPluginType in interface PTService<App>protected void onEvent(AppAboutEvent event)
protected void onEvent(AppPreferencesEvent event)
protected void onEvent(AppQuitEvent event)
Copyright © 2009–2016 SciJava. All rights reserved.