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, getInstances
create, getPlugins, getPluginService, getPluginType
initialize, registerEventHandlers
context, getContext, setContext
getPriority, setPriority
compareTo
getInfo, setInfo
dispose
EventService getEventService()
CommandService getCommandService()
AppEventService getAppEventService()
List<Platform> getTargetPlatforms()
void open(URL url) throws IOException
IOException
int exec(String... args) throws IOException
IOException
boolean registerAppMenus(Object menus)
menus
- The UI's newly created menu structureCopyright © 2009–2015 SciJava. All rights reserved.