public abstract class AbstractGateway extends AbstractRichPlugin implements Gateway
Gateway implementations.| Constructor and Description |
|---|
AbstractGateway() |
AbstractGateway(String appName,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
AppService |
app()
Gets this application context's
AppService. |
AppEventService |
appEvent()
Gets this application context's
AppEventService. |
CommandService |
command()
Gets this application context's
CommandService. |
ConsoleService |
console()
Gets this application context's
ConsoleService. |
ConvertService |
convert() |
DisplayService |
display()
Gets this application context's
DisplayService. |
EventService |
event()
Gets this application context's
EventService. |
EventHistory |
eventHistory()
Gets this application context's
EventHistory. |
<S extends Service> |
get(Class<S> serviceClass)
|
Service |
get(String serviceClassName)
|
App |
getApp() |
String |
getInfo(boolean mem) |
String |
getShortName()
Gets a very succinct name for use referring to this gateway, e.g.
|
String |
getTitle() |
String |
getVersion()
Gets the version of the object.
|
IconService |
icon()
Gets this application context's
IconService. |
InputService |
input()
Gets this application context's
InputService. |
IOService |
io()
Gets this application context's
IOService. |
void |
launch(String... args)
Perform launch operations associated with this gateway.
|
LogService |
log()
Gets this application context's
LogService. |
MainService |
main()
Gets this application context's
MainService. |
MenuService |
menu()
Gets this application context's
MenuService. |
ModuleService |
module()
Gets this application context's
ModuleService. |
ObjectService |
object()
Gets this application context's
ObjectService. |
OptionsService |
options()
Gets this application context's
OptionsService. |
PlatformService |
platform()
Gets this application context's
PlatformService. |
PluginService |
plugin()
Gets this application context's
PluginService. |
PrefService |
prefs() |
RecentFileService |
recentFile()
Gets this application context's
RecentFileService. |
ScriptService |
script()
Gets this application context's
ScriptService. |
StartupService |
startup()
Gets this application context's
StartupService. |
StatusService |
status()
Gets this application context's
StatusService. |
TextService |
text()
Gets this application context's
TextService. |
ThreadService |
thread()
Gets this application context's
ThreadService. |
ToolService |
tool()
Gets this application context's
ToolService. |
UIService |
ui()
Gets this application context's
UIService. |
WidgetService |
widget()
Gets this application context's
WidgetService. |
getInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationpublic void launch(String... args)
GatewayTypical operations might include:
ConsoleService.MainService.UIService.public String getShortName()
GatewaygetShortName in interface Gatewaypublic <S extends Service> S get(Class<S> serviceClass)
Gatewaypublic AppEventService appEvent()
GatewayAppEventService.appEvent in interface GatewayAppEventService of this application context.public AppService app()
GatewayAppService.app in interface GatewayAppService of this application context.public CommandService command()
GatewayCommandService.command in interface GatewayCommandService of this application context.public ConsoleService console()
GatewayConsoleService.console in interface GatewayConsoleService of this application context.public ConvertService convert()
public DisplayService display()
GatewayDisplayService.display in interface GatewayDisplayService of this application context.public EventHistory eventHistory()
GatewayEventHistory.eventHistory in interface GatewayEventHistory of this application context.public EventService event()
GatewayEventService.event in interface GatewayEventService of this application context.public IconService icon()
GatewayIconService.icon in interface GatewayIconService of this application context.public InputService input()
GatewayInputService.input in interface GatewayInputService of this application context.public IOService io()
GatewayIOService.public LogService log()
GatewayLogService.log in interface Gatewaylog in interface Loggedlog in interface RichPluginLogService of this application context.public MainService main()
GatewayMainService.main in interface GatewayMainService of this application context.public MenuService menu()
GatewayMenuService.menu in interface GatewayMenuService of this application context.public ModuleService module()
GatewayModuleService.module in interface GatewayModuleService of this application context.public ObjectService object()
GatewayObjectService.object in interface GatewayObjectService of this application context.public OptionsService options()
GatewayOptionsService.options in interface GatewayOptionsService of this application context.public PlatformService platform()
GatewayPlatformService.platform in interface GatewayPlatformService of this application context.public PluginService plugin()
GatewayPluginService.plugin in interface GatewayPluginService of this application context.public PrefService prefs()
public RecentFileService recentFile()
GatewayRecentFileService.recentFile in interface GatewayRecentFileService of this application context.public ScriptService script()
GatewayScriptService.script in interface GatewayScriptService of this application context.public StartupService startup()
GatewayStartupService.startup in interface GatewayStartupService of this application context.public StatusService status()
GatewayStatusService.status in interface GatewayStatusService of this application context.public TextService text()
GatewayTextService.text in interface GatewayTextService of this application context.public ThreadService thread()
GatewayThreadService.thread in interface GatewayThreadService of this application context.public ToolService tool()
GatewayToolService.tool in interface GatewayToolService of this application context.public UIService ui()
GatewayUIService.public WidgetService widget()
GatewayWidgetService.widget in interface GatewayWidgetService of this application context.public App getApp()
getApp in interface GatewayAppServicepublic String getTitle()
getTitle in interface GatewayApp.getTitle()public String getInfo(boolean mem)
getInfo in interface GatewayApp.getInfo(boolean)public String getVersion()
VersionedgetVersion in interface VersionedCopyright © 2015–2022 SciJava. All rights reserved.