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