|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.geeboss.view.MessageBoxFactory
public class MessageBoxFactory
Class for displaying a MessageBox in an easy way in just one method call.
Method Summary | |
---|---|
static void |
showError(org.eclipse.swt.widgets.Shell shell,
java.lang.Exception e)
Show an error dialog |
static int |
showMessage(org.eclipse.swt.widgets.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 |
Method Detail |
---|
public static void showError(org.eclipse.swt.widgets.Shell shell, java.lang.Exception e)
shell
- The shelle
- The exceptionpublic static int showMessage(org.eclipse.swt.widgets.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 |