Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 247021 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/ui/newui/AbstractPage.java (-2 / +7 lines)
Lines 74-79 Link Here
74
import org.eclipse.ui.PlatformUI;
74
import org.eclipse.ui.PlatformUI;
75
import org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation;
75
import org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation;
76
import org.eclipse.ui.dialogs.PropertyPage;
76
import org.eclipse.ui.dialogs.PropertyPage;
77
import org.eclipse.ui.navigator.CommonNavigator;
77
78
78
import org.eclipse.cdt.core.CCorePlugin;
79
import org.eclipse.cdt.core.CCorePlugin;
79
import org.eclipse.cdt.core.model.CoreModel;
80
import org.eclipse.cdt.core.model.CoreModel;
Lines 1243-1250 Link Here
1243
		IWorkbenchPartReference refs[] = CUIPlugin.getActiveWorkbenchWindow().getActivePage().getViewReferences();
1244
		IWorkbenchPartReference refs[] = CUIPlugin.getActiveWorkbenchWindow().getActivePage().getViewReferences();
1244
		for (IWorkbenchPartReference ref : refs) {
1245
		for (IWorkbenchPartReference ref : refs) {
1245
			IWorkbenchPart part = ref.getPart(false);
1246
			IWorkbenchPart part = ref.getPart(false);
1246
			if (part != null && part instanceof IPropertyChangeListener)
1247
			if (part != null) {
1247
				((IPropertyChangeListener)part).propertyChange(new PropertyChangeEvent(res, PreferenceConstants.PREF_SHOW_CU_CHILDREN, null, null));
1248
				if(part instanceof IPropertyChangeListener)
1249
					((IPropertyChangeListener)part).propertyChange(new PropertyChangeEvent(res, PreferenceConstants.PREF_SHOW_CU_CHILDREN, null, null));
1250
				else if (part instanceof CommonNavigator)
1251
					((CommonNavigator)part).getCommonViewer().refresh();
1252
			}			
1248
		}
1253
		}
1249
	}
1254
	}
1250
1255

Return to bug 247021