| /******************************************************************************* |
| * Copyright (c) 2012 EclipseSource Muenchen GmbH. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| ******************************************************************************/ |
| package org.eclipse.emf.emfstore.client.ui.errorreporting; |
| |
| import org.eclipse.ui.statushandlers.WorkbenchErrorHandler; |
| import org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager; |
| |
| /** |
| * Status handler for enabling the submission of a bug via mail. |
| * |
| * @author Maximilian Koegel |
| */ |
| public class EmfStoreStatusHandler extends WorkbenchErrorHandler { |
| |
| @Override |
| protected void configureStatusDialog(WorkbenchStatusDialogManager statusDialog) { |
| super.configureStatusDialog(statusDialog); |
| statusDialog.enableDefaultSupportArea(true); |
| statusDialog.setSupportAreaProvider(new MailBugStatusAreaProvider()); |
| } |
| } |