org.eclipse.emf.emfstore.internal.client.ui.dialogs
Class EMFStoreMessageDialog

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.dialogs.EMFStoreMessageDialog

public final class EMFStoreMessageDialog
extends Object

Provides a standardized way of opening message dialogs within EMFStore.

Author:
emueller

Method Summary
static void showExceptionDialog(Exception cause)
          Opens a standard error message dialog displaying the given exception to the user.
static void showExceptionDialog(org.eclipse.swt.widgets.Shell shell, Exception cause)
          Opens a standard error message dialog displaying the given exception to the user.
static void showExceptionDialog(org.eclipse.swt.widgets.Shell shell, String message, Exception cause)
          Opens a standard error message dialog displaying the given message and exception to the user.
static void showExceptionDialog(String message, Exception cause)
          Opens a standard error message dialog displaying the given message and exception to the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showExceptionDialog

public static void showExceptionDialog(Exception cause)
Opens a standard error message dialog displaying the given exception to the user.

Parameters:
cause - the exception to be shown

showExceptionDialog

public static void showExceptionDialog(String message,
                                       Exception cause)
Opens a standard error message dialog displaying the given message and exception to the user.

Parameters:
message - the message to be shown
cause - the exception to be shown

showExceptionDialog

public static void showExceptionDialog(org.eclipse.swt.widgets.Shell shell,
                                       String message,
                                       Exception cause)
Opens a standard error message dialog displaying the given message and exception to the user.

Parameters:
shell - the shell that is used to show the exception dialog
message - the message to be shown
cause - the exception to be shown

showExceptionDialog

public static void showExceptionDialog(org.eclipse.swt.widgets.Shell shell,
                                       Exception cause)
Opens a standard error message dialog displaying the given exception to the user.

Parameters:
shell - the shell that is used to show the exception dialog
cause - the exception to be shown


Copyright © 2015. All Rights Reserved.