|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectErrorDialog
eu.geclipse.ui.dialogs.ProblemDialog
public class ProblemDialog
The ProblemDialog is the user-friendly way of g-Eclipse of reporting problems to the user. It displays not only the description of the problem but also the registered solutions that could potentially solve the problem. The active solutions are clickable and perform some action, like generating a problem report or logging the exception.
| Field Summary | |
|---|---|
static int |
SOLVE
Return code determining that a solution was chosen. |
| Method Summary | |
|---|---|
static int |
openProblem(Shell parent,
java.lang.String dialogTitle,
java.lang.String message,
java.lang.Throwable exc)
Convenience static method for opening a ProblemDialog. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SOLVE
| Method Detail |
|---|
public static int openProblem(Shell parent,
java.lang.String dialogTitle,
java.lang.String message,
java.lang.Throwable exc)
ProblemDialog. This
method has to be called from the UI thread. The parent Shell
may be null. In this case a default Shell is
chosen. Nevertheless it is recommended to not call this method
without a valid Shell.
parent - The parent Shell of the dialog.dialogTitle - The dialog's title.message - A short message displayed as description of the problem.exc - An optional exception. If this is a ProblemException
the corresponding reasons and solutions are displayed.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||