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


Java XBreakpointsDialogState类代码示例

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


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

示例1: initSelection

import com.intellij.xdebugger.impl.breakpoints.XBreakpointsDialogState; //导入依赖的package包/类
void initSelection(Collection<BreakpointItem> breakpoints) {
  XBreakpointsDialogState settings = (getBreakpointManager()).getBreakpointsDialogSettings();
  if (settings != null && settings.getTreeState() != null) {
    settings.getTreeState().applyTo(myTreeController.getTreeView());
    if (myTreeController.getTreeView().getSelectionCount() == 0) {
      myTreeController.selectFirstBreakpointItem();
    }
  }
  else {
    TreeUtil.expandAll(myTreeController.getTreeView());
    myTreeController.selectFirstBreakpointItem();
  }
  selectBreakpoint(myInitialBreakpoint);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:15,代码来源:BreakpointsDialog.java

示例2: saveBreakpointsDialogState

import com.intellij.xdebugger.impl.breakpoints.XBreakpointsDialogState; //导入依赖的package包/类
private void saveBreakpointsDialogState() {
  final XBreakpointsDialogState dialogState = new XBreakpointsDialogState();
  final List<XBreakpointGroupingRule> rulesEnabled = ContainerUtil.filter(myRulesEnabled, rule -> !rule.isAlwaysEnabled());

  dialogState.setSelectedGroupingRules(new HashSet<String>(ContainerUtil.map(rulesEnabled, rule -> rule.getId())));
  getBreakpointManager().setBreakpointsDialogSettings(dialogState);
}
 
开发者ID:consulo,项目名称:consulo,代码行数:8,代码来源:BreakpointsDialog.java

示例3: saveTreeState

import com.intellij.xdebugger.impl.breakpoints.XBreakpointsDialogState; //导入依赖的package包/类
private void saveTreeState(XBreakpointsDialogState state) {
  JTree tree = myTreeController.getTreeView();
  state.setTreeState(TreeState.createOn(tree, (DefaultMutableTreeNode)tree.getModel().getRoot()));
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:BreakpointsDialog.java


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