Mercurial > projects > dwt-addons
view dwtx/jface/util/StatusHandler.d @ 200:eb3414669eb0 default tip
fix for dmd 1.041 and tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 28 Mar 2009 03:09:57 +0100 |
parents | 4878bef4a38e |
children |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> ******************************************************************************/ module dwtx.jface.util.StatusHandler; import dwtx.core.runtime.IStatus; import dwt.dwthelper.utils; /** * A mechanism to handle statuses throughout JFace. * <p> * Clients may provide their own implementation to change how statuses are * handled from within JFace. * </p> * * @see dwtx.jface.util.Policy#getStatusHandler() * @see dwtx.jface.util.Policy#setStatusHandler(StatusHandler) * * @since 3.4 */ abstract public class StatusHandler { /** * Show the given status. * * @param status * status to handle * @param title * title for the status */ abstract public void show(IStatus status, String title); }