4
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 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 * 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.dialogs.ErrorSupportProvider;
|
|
15
|
|
16
|
|
17 import dwt.widgets.Composite;
|
|
18 import dwt.widgets.Control;
|
|
19 import dwtx.core.runtime.IStatus;
|
|
20
|
|
21 /**
|
|
22 * A ErrorSupportProvider defines the area to be shown in an error dialog for extra support information.
|
|
23 * @since 3.3
|
|
24 *
|
|
25 */
|
|
26 public abstract class ErrorSupportProvider {
|
|
27
|
|
28
|
|
29 /**
|
|
30 * Create an area for adding support components as a child of parent.
|
|
31 * @param parent The parent {@link Composite}
|
|
32 * @param status The {@link IStatus} that is being displayed.
|
|
33 * @return Control
|
|
34 */
|
|
35 public abstract Control createSupportArea(Composite parent, IStatus status);
|
|
36 }
|