Bug 177037 [StatusHandling] Remove style from StatusAdapter
This is API change. I decided to remove the style param with its get/set methods from StatusAdapter API. Because status handlers don't change style any more, we can pass it as an argument to the handle method. The changes will be covered by the attached patch.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchErrorHandler.java
******************************************************************************/
package org.eclipse.ui.internal.ide;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTError;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.IWorkbenchConfigurer;
import org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog;
import org.eclipse.ui.progress.UIJob;
import org.eclipse.ui.statushandlers.StatusAdapter;
import org.eclipse.ui.statushandlers.WorkbenchErrorHandler;
import com.ibm.icu.text.MessageFormat;
/**
 * This is the IDE workbench error handler. The instance of this handler is
 * returned from {@link IDEWorkbenchAdvisor#getWorkbenchErrorHandler()}. All
 * handled statuses are checked against severity and logged using logging
 * facility (by superclass).
 * 
 * <strong>EXPERIMENTAL</strong> This class or interface has been added as part
 * of a work in progress. This API may change at any given time. Please do not
 * use this API without consulting with the Platform/UI team.
 * 
 * @since 3.3
 */
public class IDEWorkbenchErrorHandler extends WorkbenchErrorHandler {