Пример #1
0
 public void dispose() {
   for (Runnable runnable : myDisposeRunnables) {
     runnable.run();
   }
   myDisposeRunnables.clear();
   myEditor.dispose();
   DebuggerManagerEx.getInstanceEx(myProject)
       .getContextManager()
       .removeListener(myContextListener);
   myEvaluationPanel.dispose();
   super.dispose();
 }
Пример #2
0
 protected PsiElement getContext() {
   return myEditor.getContext();
 }
Пример #3
0
 protected void setDebuggerContext(DebuggerContextImpl context) {
   final PsiElement contextElement = PositionUtil.getContextElement(context);
   myEditor.setContext(contextElement);
 }
Пример #4
0
 public JComponent getPreferredFocusedComponent() {
   return myEditor.getPreferredFocusedComponent();
 }