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


Java XValueContainerNode类代码示例

本文整理汇总了Java中com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode的典型用法代码示例。如果您正苦于以下问题:Java XValueContainerNode类的具体用法?Java XValueContainerNode怎么用?Java XValueContainerNode使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


XValueContainerNode类属于com.intellij.xdebugger.impl.ui.tree.nodes包,在下文中一共展示了XValueContainerNode类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
public void childrenLoaded(@NotNull final XDebuggerTreeNode node, @NotNull final List<XValueContainerNode<?>> children, final boolean last) {
  XDebuggerTreeState.NodeInfo nodeInfo = myNode2State.get(node);
  if (nodeInfo != null) {
    for (XDebuggerTreeNode child : children) {
      restoreNode(child, nodeInfo);
    }
  }
  if (last) {
    myNode2State.remove(node);
    disposeIfFinished();
  }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:13,代码来源:XDebuggerTreeRestorer.java

示例2: expandIfEllipsis

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
private void expandIfEllipsis() {
  MessageTreeNode[] treeNodes = getSelectedNodes(MessageTreeNode.class, null);
  if (treeNodes.length == 1) {
    MessageTreeNode node = treeNodes[0];
    if (node.isEllipsis()) {
      TreeNode parent = node.getParent();
      if (parent instanceof XValueContainerNode) {
        ((XValueContainerNode)parent).startComputingChildren();
      }
    }
  }
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:13,代码来源:XDebuggerTree.java

示例3: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
public void childrenLoaded(final @NotNull XDebuggerTreeNode node,
                           final @NotNull List<XValueContainerNode<?>> children,
                           final boolean last) {
  for (XDebuggerTreeListener listener : myListeners) {
    listener.childrenLoaded(node, children, last);
  }
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:8,代码来源:XDebuggerTree.java

示例4: markNodesObsolete

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
private static void markNodesObsolete(final XValueContainerNode<?> node) {
  node.setObsolete();
  List<? extends XValueContainerNode<?>> loadedChildren = node.getLoadedChildren();
  if (loadedChildren != null) {
    for (XValueContainerNode<?> child : loadedChildren) {
      markNodesObsolete(child);
    }
  }
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:10,代码来源:XDebuggerTree.java

示例5: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
@Override
public void childrenLoaded(@Nonnull final XDebuggerTreeNode node, @Nonnull final List<XValueContainerNode<?>> children, final boolean last) {
  XDebuggerTreeState.NodeInfo nodeInfo = myNode2State.get(node);
  if (nodeInfo != null) {
    for (XDebuggerTreeNode child : children) {
      restoreNode(child, nodeInfo);
    }
  }
  if (last) {
    myNode2State.remove(node);
    disposeIfFinished();
  }
}
 
开发者ID:consulo,项目名称:consulo,代码行数:14,代码来源:XDebuggerTreeRestorer.java

示例6: addEmptyMessage

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
protected void addEmptyMessage(XValueContainerNode root) {
  XDebugSession session = getSession(getPanel());
  if (session != null) {
    if (!session.isStopped() && session.isPaused()) {
      root.setInfoMessage("Frame is not available", null);
    }
    else {
      XDebugProcess debugProcess = session.getDebugProcess();
      root.setInfoMessage(debugProcess.getCurrentStateMessage(), debugProcess.getCurrentStateHyperlinkListener());
    }
  }
}
 
开发者ID:consulo,项目名称:consulo,代码行数:13,代码来源:XVariablesView.java

示例7: clear

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
@Override
protected void clear() {
  XDebuggerTree tree = getTree();
  tree.setSourcePosition(null);
  clearInlineData(tree);

  XValueContainerNode root = createNewRootNode(null);
  addEmptyMessage(root);
  super.clear();
}
 
开发者ID:consulo,项目名称:consulo,代码行数:11,代码来源:XVariablesView.java

示例8: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
@Override
public void childrenLoaded(@NotNull XDebuggerTreeNode node, @NotNull List<XValueContainerNode<?>> children, boolean last) {
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:4,代码来源:XDebuggerTreeSpeedSearch.java

示例9: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
@Override
public void childrenLoaded(@Nonnull XDebuggerTreeNode node, @Nonnull List<XValueContainerNode<?>> children, boolean last) {
}
 
开发者ID:consulo,项目名称:consulo,代码行数:4,代码来源:XDebuggerTreeSpeedSearch.java

示例10: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
void childrenLoaded(@NotNull XDebuggerTreeNode node, @NotNull List<XValueContainerNode<?>> children, final boolean last); 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:2,代码来源:XDebuggerTreeListener.java

示例11: childrenLoaded

import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode; //导入依赖的package包/类
void childrenLoaded(@Nonnull XDebuggerTreeNode node, @Nonnull List<XValueContainerNode<?>> children, final boolean last); 
开发者ID:consulo,项目名称:consulo,代码行数:2,代码来源:XDebuggerTreeListener.java


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