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, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
public void launch(String... args)
Gateway
Typical operations might include:
ConsoleService
.MainService
.UIService
.public String getShortName()
Gateway
getShortName
in interface Gateway
public <S extends Service> S get(Class<S> serviceClass)
Gateway
public AppEventService appEvent()
Gateway
AppEventService
.appEvent
in interface Gateway
AppEventService
of this application context.public AppService app()
Gateway
AppService
.app
in interface Gateway
AppService
of this application context.public CommandService command()
Gateway
CommandService
.command
in interface Gateway
CommandService
of this application context.public ConsoleService console()
Gateway
ConsoleService
.console
in interface Gateway
ConsoleService
of this application context.public ConvertService convert()
public DisplayService display()
Gateway
DisplayService
.display
in interface Gateway
DisplayService
of this application context.public EventHistory eventHistory()
Gateway
EventHistory
.eventHistory
in interface Gateway
EventHistory
of this application context.public EventService event()
Gateway
EventService
.event
in interface Gateway
EventService
of this application context.public IconService icon()
Gateway
IconService
.icon
in interface Gateway
IconService
of this application context.public InputService input()
Gateway
InputService
.input
in interface Gateway
InputService
of this application context.public IOService io()
Gateway
IOService
.public LogService log()
Gateway
LogService
.log
in interface Gateway
log
in interface Logged
log
in interface RichPlugin
LogService
of this application context.public MainService main()
Gateway
MainService
.main
in interface Gateway
MainService
of this application context.public MenuService menu()
Gateway
MenuService
.menu
in interface Gateway
MenuService
of this application context.public ModuleService module()
Gateway
ModuleService
.module
in interface Gateway
ModuleService
of this application context.public ObjectService object()
Gateway
ObjectService
.object
in interface Gateway
ObjectService
of this application context.public OptionsService options()
Gateway
OptionsService
.options
in interface Gateway
OptionsService
of this application context.public PlatformService platform()
Gateway
PlatformService
.platform
in interface Gateway
PlatformService
of this application context.public PluginService plugin()
Gateway
PluginService
.plugin
in interface Gateway
PluginService
of this application context.public PrefService prefs()
public RecentFileService recentFile()
Gateway
RecentFileService
.recentFile
in interface Gateway
RecentFileService
of this application context.public ScriptService script()
Gateway
ScriptService
.script
in interface Gateway
ScriptService
of this application context.public StartupService startup()
Gateway
StartupService
.startup
in interface Gateway
StartupService
of this application context.public StatusService status()
Gateway
StatusService
.status
in interface Gateway
StatusService
of this application context.public TextService text()
Gateway
TextService
.text
in interface Gateway
TextService
of this application context.public ThreadService thread()
Gateway
ThreadService
.thread
in interface Gateway
ThreadService
of this application context.public ToolService tool()
Gateway
ToolService
.tool
in interface Gateway
ToolService
of this application context.public UIService ui()
Gateway
UIService
.public WidgetService widget()
Gateway
WidgetService
.widget
in interface Gateway
WidgetService
of this application context.public App getApp()
getApp
in interface Gateway
AppService
public String getTitle()
getTitle
in interface Gateway
App.getTitle()
public String getInfo(boolean mem)
getInfo
in interface Gateway
App.getInfo(boolean)
public String getVersion()
Versioned
getVersion
in interface Versioned
Copyright © 2015–2022 SciJava. All rights reserved.