public class DiagnosticComposite
extends Composite
Modifier and Type | Class and Description |
---|---|
static class |
DiagnosticComposite.TextProvider |
Modifier and Type | Field and Description |
---|---|
protected Text |
detailText |
protected Diagnostic |
diagnostic |
protected TreeViewer |
diagnosticTreeViewer |
static int |
ERROR_WARNING_MASK |
protected int |
severityMask |
protected boolean |
showRootDiagnostic |
protected DiagnosticComposite.TextProvider |
textProvider |
Constructor and Description |
---|
DiagnosticComposite(Composite parent,
int style) |
Modifier and Type | Method and Description |
---|---|
protected ITreeContentProvider |
createContentProvider() |
protected void |
createControls(Composite parent) |
protected ILabelProvider |
createLabelProvider() |
protected void |
diagnosticSelected(Diagnostic selection) |
void |
dispose() |
java.lang.String |
getDetailText() |
Diagnostic |
getDiagnostic() |
Diagnostic |
getSelection() |
int |
getSeverityMask() |
DiagnosticComposite.TextProvider |
getTextProvider() |
void |
initialize(Diagnostic diagnostic) |
boolean |
isInitialized() |
boolean |
isShowRootDiagnostic() |
void |
setDetailText(java.lang.String text) |
void |
setDiagnostic(Diagnostic diagnostic) |
void |
setSeverityMask(int severityMask) |
void |
setShowRootDiagnostic(boolean showRootDiagnostic) |
void |
setTextProvider(DiagnosticComposite.TextProvider textProvider) |
static boolean |
severityMatches(Diagnostic diagnostic,
int mask) |
public static int ERROR_WARNING_MASK
protected Diagnostic diagnostic
protected DiagnosticComposite.TextProvider textProvider
protected boolean showRootDiagnostic
protected TreeViewer diagnosticTreeViewer
protected Text detailText
protected int severityMask
public DiagnosticComposite(Composite parent, int style)
parent
- style
- public static boolean severityMatches(Diagnostic diagnostic, int mask)
public void dispose()
public void initialize(Diagnostic diagnostic)
public boolean isInitialized()
public void setDiagnostic(Diagnostic diagnostic)
public Diagnostic getDiagnostic()
public void setTextProvider(DiagnosticComposite.TextProvider textProvider)
public DiagnosticComposite.TextProvider getTextProvider()
public void setShowRootDiagnostic(boolean showRootDiagnostic)
public boolean isShowRootDiagnostic()
public void setSeverityMask(int severityMask)
public int getSeverityMask()
protected void createControls(Composite parent)
public void setDetailText(java.lang.String text)
public java.lang.String getDetailText()
public Diagnostic getSelection()
protected void diagnosticSelected(Diagnostic selection)
protected ITreeContentProvider createContentProvider()
protected ILabelProvider createLabelProvider()