use of com.intellij.xdebugger.impl.breakpoints.ui.BreakpointPanelProvider in project intellij-community by JetBrains.
the class XBreakpointUtil method collectPanelProviders.
public static List<BreakpointPanelProvider> collectPanelProviders() {
List<BreakpointPanelProvider> panelProviders = new ArrayList<>();
for (DebuggerSupport debuggerSupport : DebuggerSupport.getDebuggerSupports()) {
panelProviders.add(debuggerSupport.getBreakpointPanelProvider());
}
panelProviders.sort((o1, o2) -> o2.getPriority() - o1.getPriority());
return panelProviders;
}
use of com.intellij.xdebugger.impl.breakpoints.ui.BreakpointPanelProvider in project intellij-community by JetBrains.
the class BreakpointsFavoriteListProvider method updateChildren.
private void updateChildren() {
if (myProject.isDisposed())
return;
myChildren.clear();
List<BreakpointItem> items = new ArrayList<>();
for (final BreakpointPanelProvider provider : myBreakpointPanelProviders) {
provider.provideBreakpointItems(myProject, items);
}
getEnabledGroupingRules(myRulesEnabled);
myTreeController.setGroupingRules(myRulesEnabled);
myTreeController.rebuildTree(items);
CheckedTreeNode root = myTreeController.getRoot();
for (int i = 0; i < root.getChildCount(); i++) {
TreeNode child = root.getChildAt(i);
if (child instanceof DefaultMutableTreeNode) {
replicate((DefaultMutableTreeNode) child, myNode, myChildren);
}
}
myFavoritesManager.fireListeners(getListName(myProject));
}
Aggregations