public abstract class BackgroundUpdaterTask extends BackgroundUpdaterTaskBase<PsiElement>
Task.Backgroundable, Task.ConditionalModal, Task.Modal, Task.NotificationInfo, Task.WithResult<T,E extends java.lang.Exception>
myPopup
myBackgroundOption
ALWAYS_BACKGROUND, DEAF
Constructor and Description |
---|
BackgroundUpdaterTask(Project project,
java.lang.String title,
java.util.Comparator<PsiElement> comparator) |
Modifier and Type | Method and Description |
---|---|
protected static java.util.Comparator<PsiElement> |
createComparatorWrapper(java.util.Comparator<? super PsiElement> comparator) |
protected Usage |
createUsage(PsiElement element) |
protected PsiElement |
getTheOnlyOneElement() |
boolean |
updateComponent(PsiElement element) |
boolean |
updateComponent(PsiElement element,
java.util.Comparator comparator) |
cancelTask, getCaption, getCurrentSize, getUpdater, init, isCanceled, isFinished, onFinished, onSuccess, paintBusy, replaceModel, run
isConditionalModal, isModal, processSentToBackground, shouldStartInBackground
asBackgroundable, asModal, getCancelText, getCancelTooltipText, getNotificationInfo, getProject, getTitle, isCancellable, isHeadless, notifyFinished, onCancel, onError, onThrowable, queue, setCancelText, setCancelTooltipText, setTitle, whereToRunCallbacks
public BackgroundUpdaterTask(Project project, java.lang.String title, java.util.Comparator<PsiElement> comparator)
protected static java.util.Comparator<PsiElement> createComparatorWrapper(java.util.Comparator<? super PsiElement> comparator)
protected Usage createUsage(PsiElement element)
createUsage
in class BackgroundUpdaterTaskBase<PsiElement>
public boolean updateComponent(PsiElement element, java.util.Comparator comparator)
updateComponent
in class BackgroundUpdaterTaskBase<PsiElement>
public boolean updateComponent(PsiElement element)
updateComponent
in class BackgroundUpdaterTaskBase<PsiElement>
protected PsiElement getTheOnlyOneElement()
getTheOnlyOneElement
in class BackgroundUpdaterTaskBase<PsiElement>