Mercurial > projects > dwt2
comparison org.eclipse.core.databinding/src/org/eclipse/core/databinding/util/ILogger.d @ 78:0a55d2d5a946
Added file for databinding
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 14 Apr 2009 11:35:29 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
76:f05e6e8b2f2d | 78:0a55d2d5a946 |
---|---|
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 module org.eclipse.core.databinding.util.ILogger; | |
14 | |
15 import java.lang.all; | |
16 | |
17 import org.eclipse.core.runtime.IStatus; | |
18 | |
19 /** | |
20 * A mechanism to log errors throughout JFace Data Binding. | |
21 * <p> | |
22 * Clients may provide their own implementation to change how errors are logged | |
23 * from within JFace Data Binding. | |
24 * </p> | |
25 * | |
26 * @see Policy#getLog() | |
27 * @see Policy#setLogcast(ILogger) | |
28 * @since 1.1 | |
29 */ | |
30 public interface ILogger { | |
31 | |
32 /** | |
33 * Logs the given status. | |
34 * | |
35 * @param status | |
36 * the status to log | |
37 */ | |
38 public void log(IStatus status); | |
39 | |
40 } |