public class DefaultAppService extends AbstractSingletonService<App> implements AppService
Constructor and Description |
---|
DefaultAppService() |
Modifier and Type | Method and Description |
---|---|
App |
getApp(String name)
Gets an application by name.
|
Map<String,App> |
getApps()
Gets the table of associated applications, keyed by name.
|
protected void |
onEvent(AppAboutEvent event) |
protected void |
onEvent(AppPreferencesEvent event) |
protected void |
onEvent(AppQuitEvent event) |
getInstance, getInstances, objectService, onEvent, onEvent
pluginService
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getApp, getPluginType
create, filterInstances, getInstance, getInstances, initialize, objectService
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public App getApp(String name)
AppService
getApp
in interface AppService
public Map<String,App> getApps()
AppService
getApps
in interface AppService
Plugin.name()
protected void onEvent(AppAboutEvent event)
protected void onEvent(AppPreferencesEvent event)
protected void onEvent(AppQuitEvent event)
Copyright © 2015–2022 SciJava. All rights reserved.