public abstract class AbstractPlatform extends Object implements Platform
| Constructor and Description |
|---|
AbstractPlatform() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(PlatformService service)
Activates and configures the platform.
|
void |
dispose()
Performs any needed cleanup of the object's services, in preparation for
the object being retired (e.g., to make garbage collection possible).
|
protected PlatformService |
getPlatformService() |
boolean |
isTarget()
Determines whether the given platform is applicable to this runtime.
|
String |
javaVendor()
Java Runtime Environment vendor to match.
|
String |
javaVersion()
Minimum required Java Runtime Environment version.
|
String |
osArch()
Operating system architecture to match.
|
String |
osName()
Operating system name to match.
|
String |
osVersion()
Minimum required operating system version.
|
boolean |
registerAppMenus(Object menus)
Informs the platform of a UI's newly created application menu structure.
|
public String javaVendor()
PlatformjavaVendor in interface Platformpublic String javaVersion()
PlatformjavaVersion in interface Platformpublic String osArch()
Platformpublic String osName()
Platformpublic String osVersion()
Platformpublic boolean isTarget()
Platformpublic void configure(PlatformService service)
Platformpublic boolean registerAppMenus(Object menus)
PlatformregisterAppMenus in interface Platformmenus - The UI's newly created menu structurepublic void dispose()
Disposabledispose in interface Disposableprotected PlatformService getPlatformService()
Copyright © 2009–2016 SciJava. All rights reserved.