Bug 126573 [Dialogs] StatusDialog should extend TrayDialog
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/StatusDialog.java
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
/**
 * An abstract base class for dialogs with a status bar and OK/CANCEL buttons.
 * The status message is specified in an IStatus which can be of severity
 * ERROR, WARNING, INFO or OK. The OK button is enabled or disabled depending on
 * the status.
 * 
 * @since 3.1
 */
public abstract class StatusDialog extends Dialog {
	private Button fOkButton;
	private MessageLine fStatusLine;
	private IStatus fLastStatus;
	private String fTitle;
	private Image fImage;
	private boolean fStatusLineAboveButtons = true;
	/**
	 * A message line displaying a status.
	 */
	private class MessageLine extends CLabel {
		private Color fNormalMsgAreaBackground;
		/**
		 * Creates a new message line as a child of the given parent.
		 * @param parent
		 */
		public MessageLine(Composite parent) {