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()
Platform
javaVendor
in interface Platform
public String javaVersion()
Platform
javaVersion
in interface Platform
public String osArch()
Platform
public String osName()
Platform
public String osVersion()
Platform
public boolean isTarget()
Platform
public void configure(PlatformService service)
Platform
public boolean registerAppMenus(Object menus)
Platform
registerAppMenus
in interface Platform
menus
- The UI's newly created menu structurepublic void dispose()
Disposable
dispose
in interface Disposable
protected PlatformService getPlatformService()
Copyright © 2009–2015 SciJava. All rights reserved.