public static class DiagnosticDecorator.StyledError extends DiagnosticDecorator.Styled implements IStyledLabelDecorator
SWT#UNDERLINE_ERROR
underline style colored in JFacePreferences#ERROR_COLOR
.Modifier and Type | Class and Description |
---|---|
static class |
DiagnosticDecorator.StyledError.ComposedStyler
An extended styler applying a wrapped base style first, and successively apply other
stylers to the given TextStyle, overriding any previous style.
|
static class |
DiagnosticDecorator.StyledError.ErrorStyler
A styler underlying the given text with a
SWT#UNDERLINE_ERROR underline style colored
in JFacePreferences#ERROR_COLOR . |
DiagnosticDecorator.DiagnosticAdapter, DiagnosticDecorator.DiagnosticDecoratorAdapter, DiagnosticDecorator.EditingDomainLocationListener, DiagnosticDecorator.LiveValidator, DiagnosticDecorator.Styled, DiagnosticDecorator.StyledError
contentProvider, decorations, diagnosticAdapter, diagnostics, dialogSettings, editingDomain, input, liveValidator, markerHelper, propertySheetPage, resourceSet, viewer
Constructor and Description |
---|
DiagnosticDecorator.StyledError(EditingDomain editingDomain,
ExtendedPropertySheetPage propertySheetPage) |
DiagnosticDecorator.StyledError(EditingDomain editingDomain,
ExtendedPropertySheetPage propertySheetPage,
IDialogSettings dialogSettings) |
DiagnosticDecorator.StyledError(EditingDomain editingDomain,
StructuredViewer viewer) |
DiagnosticDecorator.StyledError(EditingDomain editingDomain,
StructuredViewer viewer,
IDialogSettings dialogSettings) |
DiagnosticDecorator.StyledError(ResourceSet resourceSet,
ExtendedPropertySheetPage propertySheetPage) |
DiagnosticDecorator.StyledError(ResourceSet resourceSet,
StructuredViewer viewer) |
Modifier and Type | Method and Description |
---|---|
StyledString |
decorateStyledText(StyledString styledString,
java.lang.Object object)
Decorate the given
styledString by underlying the whole given styledString
with a SWT#UNDERLINE_ERROR underline style colored in JFacePreferences#ERROR_COLOR . |
buildMoreToolTipText, buildToolTipMessage, buildToolTipText, decorate, decorate, decorate, decorate, decorateImage, decorateText, dispose, enquote, escapeContent, getDecorations, getDiagnostic, getLiveValidator, getToolTipText, handleDiagnostic, redecorate, strip, update, updateDiagnotics
public DiagnosticDecorator.StyledError(EditingDomain editingDomain, ExtendedPropertySheetPage propertySheetPage, IDialogSettings dialogSettings)
public DiagnosticDecorator.StyledError(EditingDomain editingDomain, ExtendedPropertySheetPage propertySheetPage)
public DiagnosticDecorator.StyledError(EditingDomain editingDomain, StructuredViewer viewer, IDialogSettings dialogSettings)
public DiagnosticDecorator.StyledError(EditingDomain editingDomain, StructuredViewer viewer)
public DiagnosticDecorator.StyledError(ResourceSet resourceSet, ExtendedPropertySheetPage propertySheetPage)
public DiagnosticDecorator.StyledError(ResourceSet resourceSet, StructuredViewer viewer)
public StyledString decorateStyledText(StyledString styledString, java.lang.Object object)
styledString
by underlying the whole given styledString
with a SWT#UNDERLINE_ERROR
underline style colored in JFacePreferences#ERROR_COLOR
.decorateStyledText
in interface IStyledLabelDecorator
decorateStyledText
in class DiagnosticDecorator.Styled
styledString
- the StyledString
to decorate. Must not be null.object
- the object being described by the given styledString
. Must not be null.styledString
. It never returns null.