public class DiagnosticUI
extends java.lang.Object
Diagnostic
s 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
diagnostic s. |
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
diagnostic s. |
static int |
showDiagnosticMulti(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostics)
Displays a dialog for given list of
diagnostic s. |
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
diagnostic s. |
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)
diagnostic
s.diagnostics
- The list of diagnostic
s 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)
diagnostic
s.diagnostics
- The list of diagnostic
s 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)
diagnostic
s.diagnostics
- The list of diagnostic
s 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)
diagnostic
s.diagnostics
- The list of diagnostic
s 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.