public interface PlatformService extends SingletonService<Platform>, SciJavaService
| Modifier and Type | Method and Description |
|---|---|
default CommandService |
commandService() |
default EventService |
eventService() |
int |
exec(String... args)
Executes a native program and waits for it to return.
|
AppEventService |
getAppEventService()
Deprecated.
Use
AppService and App instead. |
default CommandService |
getCommandService()
Deprecated.
Use
commandService() instead. |
default EventService |
getEventService()
Deprecated.
Use
eventService() instead. |
List<Platform> |
getTargetPlatforms()
Gets the platform handlers applicable to this platform.
|
void |
open(URL url)
Opens a URL in a platform-dependent way.
|
boolean |
registerAppMenus(Object menus)
Informs the active platform handlers of a UI's newly created application
menu structure.
|
create, filterInstances, getInstance, getInstances, initialize, objectServicegetPlugins, getPluginService, getPluginType, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault EventService eventService()
default CommandService commandService()
List<Platform> getTargetPlatforms()
void open(URL url) throws IOException
IOExceptionint exec(String... args) throws IOException
IOExceptionboolean registerAppMenus(Object menus)
menus - The UI's newly created menu structure@Deprecated AppEventService getAppEventService()
AppService and App instead.@Deprecated default EventService getEventService()
eventService() instead.@Deprecated default CommandService getCommandService()
commandService() instead.Copyright © 2015–2022 SciJava. All rights reserved.