|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.ide.extension.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.
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.