private void processDelta(IResourceDelta delta, Collection runnables) {
Control ctrl = viewer.getControl();
if (ctrl == null || ctrl.isDisposed()) {
return;
}
<BUG>final IResource resource = delta.getResource();
IResourceDelta[] affectedChildren = delta
.getAffectedChildren(IResourceDelta.CHANGED);
for (int i = 0; i < affectedChildren.length; i++) {
if ((affectedChildren[i].getFlags() & IResourceDelta.TYPE) != 0) {
runnables.add(getRefreshRunnable(resource));</BUG>
return;

private void processDelta(IResourceDelta delta, Collection runnables) {
Control ctrl = viewer.getControl();
if (ctrl == null || ctrl.isDisposed()) {
return;
