pl.edu.agh.cast.ui.util
Class MsgBoxHelper

java.lang.Object
  extended by pl.edu.agh.cast.ui.util.MsgBoxHelper

public class MsgBoxHelper
extends java.lang.Object

Shows different styles of message boxes

Author:
Kamil Pietak

Constructor Summary
MsgBoxHelper()
           
 
Method Summary
static int showErrorBox(org.eclipse.swt.widgets.Composite parent, java.lang.String title, java.lang.String msg)
           
static int showInfoBox(org.eclipse.swt.widgets.Composite parent, java.lang.String title, java.lang.String msg)
           
static int showQuestionBox(org.eclipse.swt.widgets.Composite parent, java.lang.String title, java.lang.String msg)
           
static int showWarningBox(org.eclipse.swt.widgets.Composite parent, java.lang.String title, java.lang.String msg)
           
static int showWarningQuestionBox(org.eclipse.swt.widgets.Composite parent, java.lang.String title, java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgBoxHelper

public MsgBoxHelper()
Method Detail

showQuestionBox

public static int showQuestionBox(org.eclipse.swt.widgets.Composite parent,
                                  java.lang.String title,
                                  java.lang.String msg)

showWarningBox

public static int showWarningBox(org.eclipse.swt.widgets.Composite parent,
                                 java.lang.String title,
                                 java.lang.String msg)

showWarningQuestionBox

public static int showWarningQuestionBox(org.eclipse.swt.widgets.Composite parent,
                                         java.lang.String title,
                                         java.lang.String msg)

showErrorBox

public static int showErrorBox(org.eclipse.swt.widgets.Composite parent,
                               java.lang.String title,
                               java.lang.String msg)

showInfoBox

public static int showInfoBox(org.eclipse.swt.widgets.Composite parent,
                              java.lang.String title,
                              java.lang.String msg)


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.