mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
Bugzilla 206561.
This commit is contained in:
parent
688c32b743
commit
589c9a1294
1 changed files with 5 additions and 1 deletions
|
@ -150,7 +150,11 @@ public class VMViewerUpdate implements IViewerUpdate {
|
||||||
public TreePath getElementPath() { return fElementPath; }
|
public TreePath getElementPath() { return fElementPath; }
|
||||||
public IPresentationContext getPresentationContext() { return fPresentationContext; }
|
public IPresentationContext getPresentationContext() { return fPresentationContext; }
|
||||||
public IStatus getStatus() { return fRequestMonitor.getStatus(); }
|
public IStatus getStatus() { return fRequestMonitor.getStatus(); }
|
||||||
public void setStatus(IStatus status) { fRequestMonitor.setStatus(status); }
|
public void setStatus(IStatus status) {
|
||||||
|
if ( isCanceled() ) {
|
||||||
|
fRequestMonitor.cancel();
|
||||||
|
}
|
||||||
|
fRequestMonitor.setStatus(status); }
|
||||||
|
|
||||||
public boolean isCanceled() {
|
public boolean isCanceled() {
|
||||||
if (fClientUpdate != null) {
|
if (fClientUpdate != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue