Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 112311 Details for
Bug 247021
Project Explorer view does not refresh when the user changes the active configuration or source settings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
CVS patch that fixes the refreshing of the Project Explorer view
AbstractPage.patch (text/plain), 1.58 KB, created by
Alex Freidin
on 2008-09-11 10:35:00 EDT
(
hide
)
Description:
CVS patch that fixes the refreshing of the Project Explorer view
Filename:
MIME Type:
Creator:
Alex Freidin
Created:
2008-09-11 10:35:00 EDT
Size:
1.58 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.uiCVS >Index: src/org/eclipse/cdt/ui/newui/AbstractPage.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java,v >retrieving revision 1.64 >diff -u -r1.64 AbstractPage.java >--- src/org/eclipse/cdt/ui/newui/AbstractPage.java 26 Jun 2008 10:43:12 -0000 1.64 >+++ src/org/eclipse/cdt/ui/newui/AbstractPage.java 11 Sep 2008 14:32:46 -0000 >@@ -68,6 +68,7 @@ > import org.eclipse.ui.PlatformUI; > import org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation; > import org.eclipse.ui.dialogs.PropertyPage; >+import org.eclipse.ui.navigator.CommonNavigator; > > import org.eclipse.cdt.core.model.CoreModel; > import org.eclipse.cdt.core.model.ICElement; >@@ -1105,8 +1106,12 @@ > IWorkbenchPartReference refs[] = CUIPlugin.getActiveWorkbenchWindow().getActivePage().getViewReferences(); > for (IWorkbenchPartReference ref : refs) { > IWorkbenchPart part = ref.getPart(false); >- if (part != null && part instanceof IPropertyChangeListener) >- ((IPropertyChangeListener)part).propertyChange(new PropertyChangeEvent(res, PreferenceConstants.PREF_SHOW_CU_CHILDREN, null, null)); >+ if (part != null) { >+ if(part instanceof IPropertyChangeListener) >+ ((IPropertyChangeListener)part).propertyChange(new PropertyChangeEvent(res, PreferenceConstants.PREF_SHOW_CU_CHILDREN, null, null)); >+ else if (part instanceof CommonNavigator) >+ ((CommonNavigator)part).getCommonViewer().refresh(); >+ } > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247021
:
112311
|
143920
|
144835