KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > databinding > util > ILogger


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * Chris Gross (schtoo@schtoo.com) - initial API and implementation
10  * (bug 49497 [RCP] JFace dependency on org.eclipse.core.runtime enlarges standalone JFace applications)
11  *******************************************************************************/

12
13 package org.eclipse.core.databinding.util;
14
15 import org.eclipse.core.runtime.IStatus;
16
17 /**
18  * A mechanism to log errors throughout JFace Data Binding.
19  * <p>
20  * Clients may provide their own implementation to change how errors are logged
21  * from within JFace Data Binding.
22  * </p>
23  *
24  * @see Policy#getLog()
25  * @see Policy#setLog(ILogger)
26  * @since 1.1
27  */

28 public interface ILogger {
29
30     /**
31      * Logs the given status.
32      *
33      * @param status
34      * the status to log
35      */

36     public void log(IStatus status);
37
38 }
39
Popular Tags