|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.MessageBoxFactory
public class 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(Shell shell,
java.lang.Exception e)
Show an error message dialog |
static void |
showError(Shell shell,
java.lang.String errorMsg)
Show an error message dialog |
static int |
showMessage(Shell shell,
int style,
java.lang.String title,
java.lang.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(Shell shell,
java.lang.Exception e)
shell - The shelle - The exception
public static void showError(Shell shell,
java.lang.String errorMsg)
shell - The shellerrorMsg - The error message
public static int showMessage(Shell shell,
int style,
java.lang.String title,
java.lang.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 | |||||||||