|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.controller.MessageBoxFactory
Class for displaying a MessageBox in an easy way in just one method call.
Constructor Summary | |
private |
MessageBoxFactory()
This utility class constructor is hidden |
Method Summary | |
static void |
showError(org.eclipse.swt.widgets.Shell shell,
Exception e)
Show an error message dialog |
static void |
showError(org.eclipse.swt.widgets.Shell shell,
String errorMsg)
Show an error message dialog |
static int |
showMessage(org.eclipse.swt.widgets.Shell shell,
int style,
String title,
String message)
Show a message box |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private MessageBoxFactory()
Method Detail |
public static void showError(org.eclipse.swt.widgets.Shell shell, Exception e)
shell
- The shelle
- The exceptionpublic static void showError(org.eclipse.swt.widgets.Shell shell, String errorMsg)
shell
- The shellerrorMsg
- The error messagepublic static int showMessage(org.eclipse.swt.widgets.Shell shell, int style, String title, String message)
shell
- The shellstyle
- Style of the message boxtitle
- Title of the message boxmessage
- Message of the message box
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |