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, threadAction
action, contextAction
commandCancelled, notifyCancelled, run
hold, release, waitFor
protected final PsiElement myElement
protected final ProgressIndicator myProgressIndicator
public EditorEvaluationCommand(Editor editor, PsiElement expression, DebuggerContextImpl context, ProgressIndicator indicator)
public PrioritizedTask.Priority getPriority()
getPriority
in interface PrioritizedTask
getPriority
in class DebuggerCommandImpl
protected abstract T evaluate(EvaluationContextImpl evaluationContext) throws EvaluateException
EvaluateException
public T evaluate() throws EvaluateException
EvaluateException
public static void showEvaluationHint(Editor myEditor, PsiElement myElement, EvaluateException e)