public interface PlatformService extends SingletonService<Platform>, SciJavaService
| Modifier and Type | Method and Description |
|---|---|
int |
exec(String... args)
Executes a native program and waits for it to return.
|
AppEventService |
getAppEventService() |
CommandService |
getCommandService() |
EventService |
getEventService() |
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.
|
getInstance, getInstancescreate, getPlugins, getPluginService, getPluginTypeinitialize, registerEventHandlerscontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfodisposeEventService getEventService()
CommandService getCommandService()
AppEventService getAppEventService()
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 structureCopyright © 2009–2016 SciJava. All rights reserved.