public class TrafficLightRenderer extends java.lang.Object implements ErrorStripeRenderer, Disposable
Modifier and Type | Class and Description |
---|---|
protected static class |
TrafficLightRenderer.DaemonCodeAnalyzerStatus |
protected class |
TrafficLightRenderer.DefaultUIController |
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected int[] |
errorCount
array filled with number of highlighters with a given severity.
|
Constructor and Description |
---|
TrafficLightRenderer(Project project,
Document document) |
TrafficLightRenderer(Project project,
Document document,
PsiFile psiFile)
Deprecated.
Please use
TrafficLightRenderer(Project, Document) instead |
Modifier and Type | Method and Description |
---|---|
protected UIController |
createUIController() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected void |
fillDaemonCodeAnalyzerErrorsStatus(TrafficLightRenderer.DaemonCodeAnalyzerStatus status,
SeverityRegistrar severityRegistrar) |
protected TrafficLightRenderer.DaemonCodeAnalyzerStatus |
getDaemonCodeAnalyzerStatus(SeverityRegistrar severityRegistrar) |
protected Project |
getProject() |
SeverityRegistrar |
getSeverityRegistrar() |
AnalyzerStatus |
getStatus(Editor editor) |
boolean |
isValid() |
void |
paint(java.awt.Component c,
java.awt.Graphics g,
java.awt.Rectangle r) |
protected void |
refresh(EditorMarkupModelImpl editorMarkupModel) |
protected int[] errorCount
@Deprecated public TrafficLightRenderer(Project project, Document document, PsiFile psiFile)
TrafficLightRenderer(Project, Document)
insteadpublic SeverityRegistrar getSeverityRegistrar()
protected void refresh(EditorMarkupModelImpl editorMarkupModel)
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isValid()
protected TrafficLightRenderer.DaemonCodeAnalyzerStatus getDaemonCodeAnalyzerStatus(SeverityRegistrar severityRegistrar)
protected void fillDaemonCodeAnalyzerErrorsStatus(TrafficLightRenderer.DaemonCodeAnalyzerStatus status, SeverityRegistrar severityRegistrar)
protected final Project getProject()
public void paint(java.awt.Component c, java.awt.Graphics g, java.awt.Rectangle r)
paint
in interface ErrorStripeRenderer
public AnalyzerStatus getStatus(Editor editor)
getStatus
in interface ErrorStripeRenderer
protected UIController createUIController()