com.intellij.xdebugger.XDebugSession



API Populatity

2 Client projects

Project: com.intellij

Project JetBrains/intellij-community in file ...xdebugger.impl.ui.tree.actions.XInspectAction.java (2014-10-13)
@@ -16,6 +16,7 @@
 package com.intellij.xdebugger.impl.ui.tree.actions;
 
 import com.intellij.openapi.actionSystem.AnActionEvent;
+import com.intellij.xdebugger.XDebugSession;
 import com.intellij.xdebugger.frame.XValue;
 import com.intellij.xdebugger.impl.ui.tree.XDebuggerTree;
 import com.intellij.xdebugger.impl.ui.tree.XInspectDialog;
@@ -28,10 +29,11 @@ import org.jetbrains.annotations.NotNull;
 public class XInspectAction extends XDebuggerTreeActionBase {
   @Override
   protected void perform(XValueNodeImpl node, @NotNull final String nodeName, AnActionEvent e) {
+    XDebugSession session = e.getData(XDebugSession.DATA_KEY);
     XDebuggerTree tree = node.getTree();
     XValue value = node.getValueContainer();
     XInspectDialog dialog = new XInspectDialog(tree.getProject(), tree.getEditorsProvider(), tree.getSourcePosition(), nodeName, value,
-                                               tree.getValueMarkers());
+                                               tree.getValueMarkers(), session, true);
     dialog.show();
   }
 }
Project JetBrains/intellij-community in file ....com.intellij.debugger.ui.impl.VariablesPanel.java (2014-08-08)
@@ -29,6 +29,7 @@ import com.intellij.openapi.project.Project;
 import com.intellij.ui.AppUIUtil;
 import com.intellij.ui.ScrollPaneFactory;
 import com.intellij.util.SystemProperties;
+import com.intellij.xdebugger.XDebugSession;
 import com.intellij.xdebugger.XSourcePosition;
 import com.intellij.xdebugger.evaluation.EvaluationMode;
 import com.intellij.xdebugger.evaluation.XDebuggerEditorsProvider;
@@ -149,11 +150,11 @@ public class VariablesPanel extends DebuggerTreePanel implements DataProvider {
     }
 
     @Override
-    protected void clear() {
+    protected void clear(@Nullable XDebugSession session) {
     }
 
     @Override
-    public void processSessionEvent(@NotNull SessionEvent event) {
+    public void processSessionEvent(@NotNull SessionEvent event, @NotNull XDebugSession session) {
     }
   }
 }
Project JetBrains/intellij-community in file ....com.intellij.debugger.ui.impl.VariablesPanel.java (2014-08-14)
@@ -29,7 +29,6 @@ import com.intellij.openapi.project.Project;
 import com.intellij.ui.AppUIUtil;
 import com.intellij.ui.ScrollPaneFactory;
 import com.intellij.util.SystemProperties;
-import com.intellij.xdebugger.XDebugSession;
 import com.intellij.xdebugger.XSourcePosition;
 import com.intellij.xdebugger.evaluation.EvaluationMode;
 import com.intellij.xdebugger.evaluation.XDebuggerEditorsProvider;
@@ -150,11 +149,11 @@ public class VariablesPanel extends DebuggerTreePanel implements DataProvider {
     }
 
     @Override
-    protected void clear(@Nullable XDebugSession session) {
+    protected void clear() {
     }
 
     @Override
-    public void processSessionEvent(@NotNull SessionEvent event, @NotNull XDebugSession session) {
+    public void processSessionEvent(@NotNull SessionEvent event) {
     }
   }
 }