public class DefaultMatchResultSink extends java.lang.Object implements MatchResultSink
Constructor and Description |
---|
DefaultMatchResultSink() |
Modifier and Type | Method and Description |
---|---|
ProgressIndicator |
getProgressIndicator() |
void |
matchingFinished()
Notifies sink about end of matching.
|
void |
newMatch(MatchResult result)
Notifies sink about new match
|
void |
processFile(PsiFile element)
Notifies sink about starting the matching for given element
|
void |
setMatchingProcess(MatchingProcess matchingProcess)
Sets the reference to the matching process
|
public void newMatch(MatchResult result)
MatchResultSink
newMatch
in interface MatchResultSink
public void processFile(PsiFile element)
MatchResultSink
processFile
in interface MatchResultSink
element
- the current filepublic void setMatchingProcess(MatchingProcess matchingProcess)
MatchResultSink
setMatchingProcess
in interface MatchResultSink
matchingProcess
- the matching process referencepublic void matchingFinished()
MatchResultSink
matchingFinished
in interface MatchResultSink
public ProgressIndicator getProgressIndicator()
getProgressIndicator
in interface MatchResultSink