comparison org.eclipse.jface/src/org/eclipse/jface/util/StatusHandler.d @ 12:bc29606a740c

Added dwt-addons in original directory structure of eclipse.org
author Frank Benoit <benoit@tionex.de>
date Sat, 14 Mar 2009 18:23:29 +0100
parents
children
comparison
equal deleted inserted replaced
11:43904fec5dca 12:bc29606a740c
1 /*******************************************************************************
2 * Copyright (c) 2008 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 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 ******************************************************************************/
13
14 module org.eclipse.jface.util.StatusHandler;
15
16 import org.eclipse.core.runtime.IStatus;
17 import java.lang.all;
18 import java.util.Set;
19
20 /**
21 * A mechanism to handle statuses throughout JFace.
22 * <p>
23 * Clients may provide their own implementation to change how statuses are
24 * handled from within JFace.
25 * </p>
26 *
27 * @see org.eclipse.jface.util.Policy#getStatusHandler()
28 * @see org.eclipse.jface.util.Policy#setStatusHandler(StatusHandler)
29 *
30 * @since 3.4
31 */
32 abstract public class StatusHandler {
33
34 /**
35 * Show the given status.
36 *
37 * @param status
38 * status to handle
39 * @param title
40 * title for the status
41 */
42 abstract public void show(IStatus status, String title);
43 }