public abstract class ProgressableTextEditorHighlightingPass extends TextEditorHighlightingPass
Modifier and Type | Field and Description |
---|---|
protected PsiFile |
myFile |
EMPTY_ARRAY, myDocument, myProject
Modifier | Constructor and Description |
---|---|
protected |
ProgressableTextEditorHighlightingPass(Project project,
Document document,
java.lang.String presentableName,
PsiFile file,
Editor editor,
TextRange restrictRange,
boolean runIntentionPassAfter,
HighlightInfoProcessor highlightInfoProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
advanceProgress(long delta) |
protected abstract void |
applyInformationWithProgress() |
protected abstract void |
collectInformationWithProgress(ProgressIndicator progress) |
void |
doApplyInformationToEditor() |
void |
doCollectInformation(ProgressIndicator progress) |
protected Editor |
getEditor() |
protected java.lang.String |
getPresentableName() |
double |
getProgress() |
boolean |
isFinished() |
protected boolean |
isValid() |
void |
setProgressLimit(long limit) |
applyInformationToEditor, collectInformation, getColorsScheme, getCompletionPredecessorIds, getDocument, getId, getInfos, getStartingPredecessorIds, isDumbMode, isRunIntentionPassAfter, setColorsScheme, setCompletionPredecessorIds, setId, setStartingPredecessorIds, toString
protected final PsiFile myFile
protected boolean isValid()
isValid
in class TextEditorHighlightingPass
public final void doCollectInformation(ProgressIndicator progress)
doCollectInformation
in class TextEditorHighlightingPass
protected abstract void collectInformationWithProgress(ProgressIndicator progress)
public final void doApplyInformationToEditor()
doApplyInformationToEditor
in class TextEditorHighlightingPass
protected abstract void applyInformationWithProgress()
public double getProgress()
public boolean isFinished()
protected java.lang.String getPresentableName()
protected Editor getEditor()
public void setProgressLimit(long limit)
public void advanceProgress(long delta)