comparison dwtx/jface/window/IShellProvider.d @ 7:8a302fdb4140

Jface some window and resource classes
author Frank Benoit <benoit@tionex.de>
date Fri, 28 Mar 2008 23:32:40 +0100
parents
children
comparison
equal deleted inserted replaced
6:1a6747be662d 7:8a302fdb4140
1 /*******************************************************************************
2 * Copyright (c) 2000, 2005 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 module dwtx.jface.window.IShellProvider;
14
15 import dwt.widgets.Shell;
16
17 /**
18 * Interface for objects that can return a shell. This is normally used for
19 * opening child windows. An object that wants to open child shells can take
20 * an IShellProvider in its constructor, and the object that implements IShellProvider
21 * can dynamically choose where child shells should be opened.
22 *
23 * @since 3.1
24 */
25 public interface IShellProvider {
26 /**
27 * Returns the current shell (or null if none). This return value may
28 * change over time, and should not be cached.
29 *
30 * @return the current shell or null if none
31 */
32 Shell getShell();
33 }