public class CompletionProgressIndicator extends ProgressIndicatorBase implements CompletionProcessEx, Disposable
AbstractProgressIndicatorExBase.IndicatorAction
Disposable.Parent
Modifier and Type | Method and Description |
---|---|
void |
addAdvertisement(java.lang.String text,
javax.swing.Icon icon) |
void |
addWatchedPrefix(int startOffset,
ElementPattern<java.lang.String> restartCondition) |
static void |
cleanupForNextTest() |
void |
closeAndFinish(boolean hideLookup) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
Caret |
getCaret() |
Editor |
getEditor() |
OffsetsInFile |
getHostOffsets() |
LookupImpl |
getLookup() |
OffsetMap |
getOffsetMap() |
CompletionParameters |
getParameters() |
Project |
getProject() |
boolean |
isAutopopupCompletion() |
void |
itemSelected(LookupElement lookupItem,
char completionChar) |
void |
prefixUpdated() |
void |
registerChildDisposable(java.util.function.Supplier<? extends Disposable> child) |
void |
scheduleRestart() |
static void |
setAutopopupTriggerTime(int timeSpan)
Deprecated.
|
static void |
setGroupingTimeSpan(int timeSpan) |
void |
setParameters(CompletionParameters parameters) |
void |
stop()
Marks the process as finished.
|
java.lang.String |
toString() |
cancel, isCanceled
addStateDelegate, checkCanceled, delegateProgressChange, delegateRunningChange, finish, isFinished, isReuseable, onProgressChange, onRunningChange, popState, processFinish, pushState, removeAllStateDelegates, removeStateDelegate, setFraction, setIndeterminate, setOwnerTask, setText, setText2, start, wasStarted
dontStartActivity, finishNonCancelableSection, getCancellationTrace, getFraction, getLock, getModalityState, getText, getText2, initStateFrom, isCancelable, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, setModalityProgress, startNonCancelableSection
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkCanceled, finishNonCancelableSection, getFraction, getModalityState, getText, getText2, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, popState, pushState, setFraction, setIndeterminate, setModalityProgress, setText, setText2, start, startNonCancelableSection
initStateFrom
public void itemSelected(LookupElement lookupItem, char completionChar)
itemSelected
in interface CompletionProcessEx
public OffsetMap getOffsetMap()
getOffsetMap
in interface CompletionProcessEx
public OffsetsInFile getHostOffsets()
getHostOffsets
in interface CompletionProcessEx
public void dispose()
Disposable
dispose
in interface Disposable
public CompletionParameters getParameters()
getParameters
in interface CompletionProcessEx
public void setParameters(CompletionParameters parameters)
setParameters
in interface CompletionProcessEx
public LookupImpl getLookup()
getLookup
in interface CompletionProcessEx
public void closeAndFinish(boolean hideLookup)
public void registerChildDisposable(java.util.function.Supplier<? extends Disposable> child)
registerChildDisposable
in interface CompletionProcessEx
public static void cleanupForNextTest()
public void stop()
ProgressIndicator
ProgressManager
internals, shouldn't be called from client code
unless you know what you're doing.stop
in interface ProgressIndicator
stop
in class AbstractProgressIndicatorExBase
public Editor getEditor()
getEditor
in interface CompletionProcessEx
public Caret getCaret()
getCaret
in interface CompletionProcessEx
public boolean isAutopopupCompletion()
isAutopopupCompletion
in interface CompletionProcess
public Project getProject()
getProject
in interface CompletionProcessEx
public void addWatchedPrefix(int startOffset, ElementPattern<java.lang.String> restartCondition)
addWatchedPrefix
in interface CompletionProcessEx
public void prefixUpdated()
prefixUpdated
in interface CompletionProcessEx
public void scheduleRestart()
scheduleRestart
in interface CompletionProcessEx
public java.lang.String toString()
toString
in class AbstractProgressIndicatorBase
public void addAdvertisement(java.lang.String text, javax.swing.Icon icon)
addAdvertisement
in interface CompletionProcessEx
public static void setGroupingTimeSpan(int timeSpan)
@Deprecated public static void setAutopopupTriggerTime(int timeSpan)