|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.spi.model.DiagnosticMessageExtractor
public final class DiagnosticMessageExtractor
This Util allows to extract messages from Diagnostics.
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 for
Diagnostic
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 for
Diagnostics
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |