|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.core.LpexUtilities
This class implements utilities which resolve differences between supported development platforms and/or operating systems. This implementation is for SWT LPEX, the Eclipse technology version of the editor.
Method Summary | |
---|---|
static org.eclipse.swt.graphics.FontData[] | fontDataFromString(String fontDataString)
Returns the array of SWT FontData objects described by the given fontDataString. |
static String | fontDataToString(org.eclipse.swt.graphics.FontData[] fontData)
Return a string representation of the given array of SWT FontData objects. |
static int | getPlatform()
Return the underlying development platform of this LPEX widget. |
static String | getUserHomeDirectory()
Retrieve the default directory for LPEX settings. |
static boolean | okToUse(org.eclipse.swt.widgets.Widget widget)
Query whether the specified SWT Widget is usable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static int getPlatform()
public static boolean okToUse(org.eclipse.swt.widgets.Widget widget)
public static String getUserHomeDirectory()
This directory is platform dependent. It is assembled using the "user.home" Java system property. This is the resulting path on various platforms:
Windows XP, 2000: %SystemDrive%:\Documents and Settings\\Application Data\IBM\LpexEditor Windows NT: %SystemDrive%:\ \Profiles\ \Application Data\IBM\LpexEditor Unix: /home/ /.ibm/LpexEditor
Editor applications may use a different directory.
public static String fontDataToString(org.eclipse.swt.graphics.FontData[] fontData)
public static org.eclipse.swt.graphics.FontData[] fontDataFromString(String fontDataString)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |