Class Policy
java.lang.Object
org.eclipse.core.databinding.util.Policy
The Policy class handles settings for behaviour, debug flags and logging
within JFace Data Binding.
- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Constant for the the default setting for debug options.static final String
The unique identifier of the JFace plug-in. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT
public static final boolean DEFAULTConstant for the the default setting for debug options.- See Also:
-
JFACE_DATABINDING
The unique identifier of the JFace plug-in.- See Also:
-
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
setLog
Sets the logger used by JFace Data Binding to log errors.- Parameters:
logger
- the logger to use, ornull
to use the default logger
-
getLog
Returns the logger used by JFace Data Binding to log errors.The default logger prints the status to
System.err
.- Returns:
- the logger
-