mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +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(),
|
this, update.getElementPath(),
|
||||||
new ViewerDataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), update) {
|
new ViewerDataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), update) {
|
||||||
@Override
|
@Override
|
||||||
protected void handleCompleted() {
|
protected void handleSuccess() {
|
||||||
if (isSuccess()) {
|
|
||||||
update.setHasChilren(!getData().isEmpty());
|
update.setHasChilren(!getData().isEmpty());
|
||||||
} else {
|
|
||||||
update.setHasChilren(false);
|
|
||||||
}
|
|
||||||
update.done();
|
update.done();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -84,12 +80,8 @@ public class BreakpointOrganizerVMNode extends AbstractVMNode {
|
||||||
this, update.getElementPath(),
|
this, update.getElementPath(),
|
||||||
new ViewerDataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), update) {
|
new ViewerDataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), update) {
|
||||||
@Override
|
@Override
|
||||||
protected void handleCompleted() {
|
protected void handleSuccess() {
|
||||||
if (isSuccess()) {
|
|
||||||
update.setChildCount(getData().size());
|
update.setChildCount(getData().size());
|
||||||
} else {
|
|
||||||
update.setChildCount(0);
|
|
||||||
}
|
|
||||||
update.done();
|
update.done();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue