public abstract class EditorEvaluationCommand<T> extends DebuggerContextCommandImpl
PrioritizedTask.Priority| Modifier and Type | Field and Description |
|---|---|
protected PsiElement |
myElement |
protected ProgressIndicator |
myProgressIndicator |
| Constructor and Description |
|---|
EditorEvaluationCommand(Editor editor,
PsiElement expression,
DebuggerContextImpl context,
ProgressIndicator indicator) |
| Modifier and Type | Method and Description |
|---|---|
T |
evaluate() |
protected abstract T |
evaluate(EvaluationContextImpl evaluationContext) |
PrioritizedTask.Priority |
getPriority() |
static void |
showEvaluationHint(Editor myEditor,
PsiElement myElement,
EvaluateException e) |
contextAction, getDebuggerContext, getSuspendContext, threadAction, threadActionaction, contextActioncommandCancelled, notifyCancelled, runhold, release, waitForprotected final PsiElement myElement
protected final ProgressIndicator myProgressIndicator
public EditorEvaluationCommand(Editor editor, PsiElement expression, DebuggerContextImpl context, ProgressIndicator indicator)
public PrioritizedTask.Priority getPriority()
getPriority in interface PrioritizedTaskgetPriority in class DebuggerCommandImplprotected abstract T evaluate(EvaluationContextImpl evaluationContext) throws EvaluateException
EvaluateExceptionpublic T evaluate() throws EvaluateException
EvaluateExceptionpublic static void showEvaluationHint(Editor myEditor, PsiElement myElement, EvaluateException e)