1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
Ted Williams 2007-07-05 23:51:14 +00:00
parent d50ed203b6
commit ac373103f4
2 changed files with 4 additions and 1 deletions

View file

@ -34,6 +34,7 @@ import org.eclipse.dd.dsf.ui.viewmodel.AbstractVMProvider;
import org.eclipse.dd.dsf.ui.viewmodel.IVMContext;
import org.eclipse.dd.dsf.ui.viewmodel.VMDelta;
import org.eclipse.dd.dsf.ui.viewmodel.dm.AbstractDMVMLayoutNode;
import org.eclipse.dd.dsf.ui.viewmodel.update.VMCacheManager;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.model.IDebugTarget;
@ -222,6 +223,8 @@ public class RegisterGroupLayoutNode extends AbstractExpressionLayoutNode<IRegis
parent.addFlags(IModelDelta.CONTENT);
}
else if (e instanceof IRegisters.IGroupsChangedDMEvent) {
// flush the cache
VMCacheManager.getVMCacheManager().flush(super.getVMProvider().getPresentationContext());
// Create a delta that indicates all groups have changed
parent.addFlags(IModelDelta.CONTENT);
}

View file

@ -53,7 +53,7 @@ public abstract class VMCache
fData = new HashMap<IDMContext<?>, IDMData>();
fChildrenCounts.clear();
fChildren.clear();
fChildrenCounts.clear();
fHasChildren.clear();
}
protected boolean useCache()