Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.databinding.util
Class Policy


java.lang.Object
  extended by 
org.eclipse.core.databinding.util.Policy

public class Policy
extends Object

The Policy class handles settings for behaviour, debug flags and logging within JFace Data Binding.

Since:
1.1

Field Summary
static boolean DEFAULT
          Constant for the the default setting for debug options.
static  String JFACE_DATABINDING
          The unique identifier of the JFace plug-in.
 
Constructor Summary
Policy ()
           
 
Method Summary
static  ILogger getLog ()
          Returns the logger used by JFace Data Binding to log errors.
static void setLog ( ILogger logger)
          Sets the logger used by JFace Data Binding to log errors.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final boolean DEFAULT
Constant for the the default setting for debug options.

See Also:
Constant Field Values

JFACE_DATABINDING

public static final 
String JFACE_DATABINDING
The unique identifier of the JFace plug-in.

See Also:
Constant Field Values
Constructor Detail

Policy

public Policy()
Method Detail

setLog

public static void setLog(
ILogger logger)
Sets the logger used by JFace Data Binding to log errors.

Parameters:
logger - the logger to use, or null to use the default logger

getLog

public static 
ILogger getLog()
Returns the logger used by JFace Data Binding to log errors.

The default logger prints the status to System.err.

Returns:
the logger

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire