mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
Bug 327025 - [breakpoints][vm] Breakpoint groups get collapsed on frequent breakpoint changes.
This commit is contained in:
parent
0c17a85354
commit
91b7a9eecb
1 changed files with 4 additions and 12 deletions
|
@ -65,12 +65,8 @@ public class BreakpointOrganizerVMNode extends AbstractVMNode {
|
|||
this, update.getElementPath(),
|
||||
new ViewerDataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), update) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
if (isSuccess()) {
|
||||
protected void handleSuccess() {
|
||||
update.setHasChilren(!getData().isEmpty());
|
||||
} else {
|
||||
update.setHasChilren(false);
|
||||
}
|
||||
update.done();
|
||||
}
|
||||
});
|
||||
|
@ -84,12 +80,8 @@ public class BreakpointOrganizerVMNode extends AbstractVMNode {
|
|||
this, update.getElementPath(),
|
||||
new ViewerDataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), update) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
if (isSuccess()) {
|
||||
protected void handleSuccess() {
|
||||
update.setChildCount(getData().size());
|
||||
} else {
|
||||
update.setChildCount(0);
|
||||
}
|
||||
update.done();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue