|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.util.Policy
The Policy class handles debug flags and logging within JFace.
Field Summary | |
---|---|
static boolean |
DEBUG_DIALOG_NO_PARENT
A flag to indicate whether unparented dialogs should be checked. |
static boolean |
DEFAULT
Constant for the the default setting for debug options. |
static String |
JFACE
The unique identifier of the JFace plug-in. |
static boolean |
TRACE_ACTIONS
A flag to indicate whether actions are being traced. |
static boolean |
TRACE_TOOLBAR
A flag to indicate whether toolbars are being traced. |
Constructor Summary | |
---|---|
Policy()
|
Method Summary | |
---|---|
static ILogger |
getLog()
Returns the logger used by JFace to log errors. |
static void |
setLog(ILogger logger)
Sets the logger used by JFace to log errors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean DEFAULT
public static final String JFACE
public static boolean DEBUG_DIALOG_NO_PARENT
public static boolean TRACE_ACTIONS
public static boolean TRACE_TOOLBAR
Constructor Detail |
public Policy()
Method Detail |
public static void setLog(ILogger logger)
logger
- the logger to use, or null
to use the default loggerpublic static ILogger getLog()
The default logger prints the status to System.err
.
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.