Mercurial > projects > dwt-addons
comparison dwtx/jface/util/StatusHandler.d @ 70:46a6e0e6ccd4
Merge with d-fied sources of 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 22 May 2008 01:36:46 +0200 |
parents | |
children | 4878bef4a38e |
comparison
equal
deleted
inserted
replaced
69:07b9d96fd764 | 70:46a6e0e6ccd4 |
---|---|
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 dwtx.jface.util.StatusHandler; | |
15 | |
16 import dwtx.core.runtime.IStatus; | |
17 | |
18 /** | |
19 * A mechanism to handle statuses throughout JFace. | |
20 * <p> | |
21 * Clients may provide their own implementation to change how statuses are | |
22 * handled from within JFace. | |
23 * </p> | |
24 * | |
25 * @see dwtx.jface.util.Policy#getStatusHandler() | |
26 * @see dwtx.jface.util.Policy#setStatusHandler(StatusHandler) | |
27 * | |
28 * @since 3.4 | |
29 */ | |
30 abstract public class StatusHandler { | |
31 | |
32 /** | |
33 * Show the given status. | |
34 * | |
35 * @param status | |
36 * status to handle | |
37 * @param title | |
38 * title for the status | |
39 */ | |
40 abstract public void show(IStatus status, String title); | |
41 } |