|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ide.extension.PlatformInfo
public final class PlatformInfo
Encapsulates platform specific information required for an extension to work properly.
| Field Summary | |
|---|---|
static java.lang.String |
SWING
GUI toolkit identifier for Swing. |
static java.lang.String |
SWT
GUI toolkit identifier for SWT. |
| Constructor Summary | |
|---|---|
PlatformInfo(java.util.Collection toolkits)
Create a PlatformInfo object for the specified toolkits. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPreferredToolkit()
Get the preferred toolkit for this extension. |
boolean |
isToolkitSupported(java.lang.String toolkit)
Gets whether a specific toolkit is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SWING
public static final java.lang.String SWT
| Constructor Detail |
|---|
public PlatformInfo(java.util.Collection toolkits)
toolkits - all toolkits supported by this extension. The first toolkit
in the collection should be the preferred toolkit. Must not be null
or empty.| Method Detail |
|---|
public java.lang.String getPreferredToolkit()
public boolean isToolkitSupported(java.lang.String toolkit)
toolkit - to the toolkit to check for support. Either SWING or SWT.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||