当前位置: 首页>>代码示例>>Java>>正文


Java XDebuggerActions.INSPECT_TREE_POPUP_GROUP属性代码示例

本文整理汇总了Java中com.intellij.xdebugger.impl.actions.XDebuggerActions.INSPECT_TREE_POPUP_GROUP属性的典型用法代码示例。如果您正苦于以下问题:Java XDebuggerActions.INSPECT_TREE_POPUP_GROUP属性的具体用法?Java XDebuggerActions.INSPECT_TREE_POPUP_GROUP怎么用?Java XDebuggerActions.INSPECT_TREE_POPUP_GROUP使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.intellij.xdebugger.impl.actions.XDebuggerActions的用法示例。


在下文中一共展示了XDebuggerActions.INSPECT_TREE_POPUP_GROUP属性的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createTree

@NotNull
@Override
public Tree createTree(@NotNull Pair<XValue, String> descriptor) {
  final XDebuggerTree tree = new XDebuggerTree(myProject, myProvider, myPosition, XDebuggerActions.INSPECT_TREE_POPUP_GROUP, myMarkers);
  final XValueNodeImpl root = new XValueNodeImpl(tree, null, descriptor.getSecond(), descriptor.getFirst());
  tree.setRoot(root, true);
  tree.setSelectionRow(0);
  // expand root on load
  tree.expandNodesOnLoad(new Condition<TreeNode>() {
    @Override
    public boolean value(TreeNode node) {
      return node == root;
    }
  });
  return tree;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:16,代码来源:XDebuggerTreeCreator.java

示例2: createTree

@NotNull
@Override
public Tree createTree(@NotNull Pair<XInstanceEvaluator, String> descriptor) {
  final XDebuggerTree tree = new XDebuggerTree(myProject, myProvider, myPosition, XDebuggerActions.INSPECT_TREE_POPUP_GROUP, myMarkers);
  final XValueNodeImpl root = new XValueNodeImpl(tree, null, descriptor.getSecond(),
                                                 new InstanceEvaluatorTreeRootValue(descriptor.getFirst(), descriptor.getSecond()));
  tree.setRoot(root, false);
  Condition<TreeNode> visibleRootCondition = new Condition<TreeNode>() {
    @Override
    public boolean value(TreeNode node) {
      return node.getParent() == root;
    }
  };
  tree.expandNodesOnLoad(visibleRootCondition);
  tree.selectNodeOnLoad(visibleRootCondition);

  return tree;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:18,代码来源:XDebuggerInstanceTreeCreator.java

示例3: XInspectDialog

public XInspectDialog(final XDebugSession session, XDebuggerEditorsProvider editorsProvider, XSourcePosition sourcePosition, @NotNull String nodeName, @NotNull XValue value) {
  super(session.getProject(), false);
  setTitle(XDebuggerBundle.message("inspect.value.dialog.title", nodeName));
  setModal(false);
  myTreePanel = new XDebuggerTreePanel(session, editorsProvider, myDisposable, sourcePosition, XDebuggerActions.INSPECT_TREE_POPUP_GROUP);
  XDebuggerTree tree = myTreePanel.getTree();
  tree.setRoot(new XValueNodeImpl(tree, null, nodeName, value), true);
  init();
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:9,代码来源:XInspectDialog.java

示例4: createTree

@Nonnull
@Override
public Tree createTree(@Nonnull Pair<XValue, String> descriptor) {
  XDebuggerTree tree = new XDebuggerTree(myProject, myProvider, myPosition, XDebuggerActions.INSPECT_TREE_POPUP_GROUP, myMarkers);
  tree.setRoot(new XValueNodeImpl(tree, null, descriptor.getSecond(), descriptor.getFirst()), true);
  return tree;
}
 
开发者ID:consulo,项目名称:consulo,代码行数:7,代码来源:XDebuggerTreeCreator.java

示例5: InstancesTree

InstancesTree(@NotNull Project project, @NotNull XDebuggerEditorsProvider editorsProvider, @Nullable XValueMarkers<?, ?> valueMarkers, @NotNull Runnable onRootExpand)
{
	super(project, editorsProvider, null, XDebuggerActions.INSPECT_TREE_POPUP_GROUP, valueMarkers);
	myOnRootExpandAction = onRootExpand;
	myRoot = new XValueNodeImpl(this, null, "root", new MyRootValue());

	myRoot.children();
	setRoot(myRoot, false);
	myRoot.setLeaf(false);
	setSelectionRow(0);
	expandNodesOnLoad(node -> node == myRoot);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:12,代码来源:InstancesTree.java


注:本文中的com.intellij.xdebugger.impl.actions.XDebuggerActions.INSPECT_TREE_POPUP_GROUP属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。