public class PotemkinProgress extends ProgressWindow implements PingProgress
ProgressWindow.Listener
AbstractProgressIndicatorExBase.IndicatorAction
Disposable.Parent
DEFAULT_PROGRESS_DIALOG_POSTPONE_TIME_MILLIS, myBackgrounded, TOPIC
Constructor and Description |
---|
PotemkinProgress(java.lang.String title,
Project project,
javax.swing.JComponent parentComponent,
java.lang.String cancelText) |
Modifier and Type | Method and Description |
---|---|
protected com.intellij.openapi.progress.util.ProgressDialog |
getDialog() |
void |
interact() |
static void |
invokeLaterNotBlocking(java.lang.Object source,
java.lang.Runnable runnable) |
void |
runInBackground(java.lang.Runnable action)
Executes the action in a background thread, block Swing thread, handles selected input events and paints itself periodically.
|
void |
runInSwingThread(java.lang.Runnable action)
Executes the action in EDT, paints itself inside checkCanceled calls.
|
background, dispose, getTitle, isBackgrounded, isPopupWasShown, prepareShowDialog, pumpEventsForHierarchy, setCancelButtonText, setDelayInMillis, setFraction, setIndeterminate, setText, setText2, setTitle, showDialog, start, startBlocking, startBlocking, stop, toString
cancel, isCanceled
addStateDelegate, checkCanceled, delegateProgressChange, delegateRunningChange, finish, isFinished, isReuseable, onProgressChange, onRunningChange, popState, processFinish, pushState, removeAllStateDelegates, removeStateDelegate, setOwnerTask, wasStarted
dontStartActivity, finishNonCancelableSection, getCancellationTrace, getFraction, getLock, getModalityState, getText, getText2, initStateFrom, isCancelable, isIndeterminate, isModal, 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
cancel, checkCanceled, finishNonCancelableSection, getFraction, getModalityState, getText, getText2, isCanceled, isIndeterminate, isModal, isRunning, isShowing, popState, pushState, setModalityProgress, startNonCancelableSection
initStateFrom
public PotemkinProgress(java.lang.String title, Project project, javax.swing.JComponent parentComponent, java.lang.String cancelText)
protected com.intellij.openapi.progress.util.ProgressDialog getDialog()
getDialog
in class ProgressWindow
public void interact()
interact
in interface PingProgress
public void runInSwingThread(java.lang.Runnable action)
public void runInBackground(java.lang.Runnable action)
public static void invokeLaterNotBlocking(java.lang.Object source, java.lang.Runnable runnable)