public final class DiagnosticMessageExtractor extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getMessage(Collection<org.eclipse.emf.common.util.Diagnostic> diagnostics)
Extract the message to display from a collection of
Diagnostics . |
static String |
getMessage(org.eclipse.emf.common.util.Diagnostic diagnostic)
Extract the message to display from a single
Diagnostic . |
public static String getMessage(org.eclipse.emf.common.util.Diagnostic diagnostic)
Diagnostic
. If the severity of the Diagnostic is
Diagnostic.OK
then the message is empty.diagnostic
- The Diagnostic
to get the message forDiagnostic
is ok.public static String getMessage(Collection<org.eclipse.emf.common.util.Diagnostic> diagnostics)
Diagnostics
. If the severity of the
Diagnostic is Diagnostic.OK
then it is skipped.diagnostics
- The Collection of Diagnostics
to get the message forDiagnostics
Copyright © 2016. All rights reserved.