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) |
getInstance, getInstances, objectServicepluginServicedispose, getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, filterInstances, getInstance, getInstances, initialize, objectServicegetPlugins, getPluginService, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic 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.