public class DiagnosticUI
extends java.lang.Object
Diagnostics resulting from a model validation in a dialog.| Constructor and Description |
|---|
DiagnosticUI() |
| Modifier and Type | Method and Description |
|---|---|
static int |
showDiagnostic(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics)
Displays a dialog for given list of
diagnostics. |
static int |
showDiagnostic(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics,
java.lang.String title,
java.lang.String message)
Displays a dialog with specified title and message for given list of
diagnostics. |
static int |
showDiagnosticMulti(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics)
Displays a dialog for given list of
diagnostics. |
static int |
showDiagnosticMulti(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics,
java.lang.String title,
java.lang.String message)
Displays a dialog with specified title and message for given list of
diagnostics. |
static int |
showDiagnosticSingle(org.eclipse.emf.common.util.Diagnostic diagnostic)
Displays a dialog for given
diagnostic. |
static int |
showDiagnosticSingle(org.eclipse.emf.common.util.Diagnostic diagnostic,
java.lang.String title,
java.lang.String message)
Displays a dialog with specified title and message for given
diagnostic. |
public static int showDiagnostic(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics)
diagnostics.diagnostics - The list of diagnostics to be displayed.Window.OK if the OK
button was pressed, or Window.CANCEL if this dialog's close window decoration or the ESC key was
used.public static int showDiagnostic(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics,
java.lang.String title,
java.lang.String message)
diagnostics.diagnostics - The list of diagnostics to be displayed.title - The dialog title to be used.message - The dialog message to be displayed above the diagnostics.Window.OK if the OK
button was pressed, or Window.CANCEL if this dialog's close window decoration or the ESC key was
used.public static int showDiagnosticSingle(org.eclipse.emf.common.util.Diagnostic diagnostic)
diagnostic.diagnostic - The diagnostic to be displayed.Window.OK if the OK
button was pressed, or Window.CANCEL if this dialog's close window decoration or the ESC key was
used.public static int showDiagnosticSingle(org.eclipse.emf.common.util.Diagnostic diagnostic,
java.lang.String title,
java.lang.String message)
diagnostic.diagnostic - The diagnostic to be displayed.title - The dialog title to be used.message - The dialog message to be displayed above the diagnostic.Window.OK if the OK
button was pressed, or Window.CANCEL if this dialog's close window decoration or the ESC key was
used.public static int showDiagnosticMulti(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics)
diagnostics.diagnostics - The list of diagnostics to be displayed.Window.OK if the OK
button was pressed, or Window.CANCEL if this dialog's close window decoration or the ESC key was
used.public static int showDiagnosticMulti(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics,
java.lang.String title,
java.lang.String message)
diagnostics.diagnostics - The list of diagnostics to be displayed.title - The dialog title to be used.message - The dialog message to be displayed above the diagnostics.Window.OK if the OK
button was pressed, or Window.CANCEL if this dialog's close window decoration or the ESC key was
used.