blob: bc6d95444048eee1508c231eeb3e0f690d6ace4e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.internal;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.internal.part.StatusPart;
import org.eclipse.ui.part.ViewPart;
public class ErrorViewPart extends ViewPart {
private IStatus msg;
public ErrorViewPart(IStatus errorMessage) {
msg = errorMessage;
}
public void createPartControl(Composite parent) {
new StatusPart(parent, msg);
}
public void setPartName(String newName) {
super.setPartName(newName);
}
public void setFocus() {
}
}