public void dispose() { for (Runnable runnable : myDisposeRunnables) { runnable.run(); } myDisposeRunnables.clear(); myEditor.dispose(); DebuggerManagerEx.getInstanceEx(myProject) .getContextManager() .removeListener(myContextListener); myEvaluationPanel.dispose(); super.dispose(); }
protected PsiElement getContext() { return myEditor.getContext(); }
protected void setDebuggerContext(DebuggerContextImpl context) { final PsiElement contextElement = PositionUtil.getContextElement(context); myEditor.setContext(contextElement); }
public JComponent getPreferredFocusedComponent() { return myEditor.getPreferredFocusedComponent(); }