edu.cmu.sei.aadl.model.pluginsupport
Class Dialog

java.lang.Object
  extended by edu.cmu.sei.aadl.model.pluginsupport.Dialog

Deprecated. The Dialog class has been moved from the edu.cmu.sei.aadl.model plugin to the edu.cmu.sei.osate.ui plugin. This was done to separate model code from ui code. This allows developers to use our model plugins without have the ui plugins as well. Instead of using this Dialog class, use the other Dialog class.

@Deprecated
public final class Dialog
extends java.lang.Object

This class provides static convenience methods for creating standard info, warning, error, question, and "save as" dialog boxes with out having to worry about whether the calling thread is the SWT event thread or not.

Author:
phf

Method Summary
static boolean askQuestion(java.lang.String title, java.lang.String question)
          Deprecated.  
static int askQuestion(java.lang.String title, java.lang.String question, java.lang.String[] choices, int defChoice)
          Deprecated.  
static java.lang.String getInput(java.lang.String title, java.lang.String prompt, java.lang.String initialValue, org.eclipse.jface.dialogs.IInputValidator validator)
          Deprecated.  
static org.eclipse.core.runtime.IPath saveAsDialog()
          Deprecated.  
static void showError(java.lang.String title, java.lang.String msg)
          Deprecated.  
static void showInfo(java.lang.String title, java.lang.String msg)
          Deprecated.  
static void showWarning(java.lang.String title, java.lang.String msg)
          Deprecated.  
static int showWindow(org.eclipse.jface.window.Window window)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showWarning

public static void showWarning(java.lang.String title,
                               java.lang.String msg)
Deprecated. 

showInfo

public static void showInfo(java.lang.String title,
                            java.lang.String msg)
Deprecated. 

showError

public static void showError(java.lang.String title,
                             java.lang.String msg)
Deprecated. 

showWindow

public static int showWindow(org.eclipse.jface.window.Window window)
Deprecated. 

askQuestion

public static boolean askQuestion(java.lang.String title,
                                  java.lang.String question)
Deprecated. 

askQuestion

public static int askQuestion(java.lang.String title,
                              java.lang.String question,
                              java.lang.String[] choices,
                              int defChoice)
Deprecated. 

getInput

public static java.lang.String getInput(java.lang.String title,
                                        java.lang.String prompt,
                                        java.lang.String initialValue,
                                        org.eclipse.jface.dialogs.IInputValidator validator)
Deprecated. 

saveAsDialog

public static org.eclipse.core.runtime.IPath saveAsDialog()
Deprecated.