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 122145 Details for
Bug 260574
[CommonNavigator] ResourceExtensionContentProvider and WorkbenchContentProvider do not support IResourceDelta.CONTENT changes to indivdual files.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for WorkbenchContentProvider.java.
Defect_260574_patch_WorkbenchContentProvider.txt (text/plain), 1.32 KB, created by
Paul Slauenwhite
on 2009-01-09 13:54:55 EST
(
hide
)
Description:
Patch for WorkbenchContentProvider.java.
Filename:
MIME Type:
Creator:
Paul Slauenwhite
Created:
2009-01-09 13:54:55 EST
Size:
1.32 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: extensions/org/eclipse/ui/model/WorkbenchContentProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/extensions/org/eclipse/ui/model/WorkbenchContentProvider.java,v >retrieving revision 1.16 >diff -u -r1.16 WorkbenchContentProvider.java >--- extensions/org/eclipse/ui/model/WorkbenchContentProvider.java 28 May 2008 19:21:17 -0000 1.16 >+++ extensions/org/eclipse/ui/model/WorkbenchContentProvider.java 9 Jan 2009 18:54:32 -0000 >@@ -204,11 +204,15 @@ > } > // Check the flags for changes the Navigator cares about. > // See ResourceLabelProvider for the aspects it cares about. >- // Notice we don't care about F_CONTENT or F_MARKERS currently. >+ // Notice we don't care about F_MARKERS currently. > if ((changeFlags & (IResourceDelta.SYNC > | IResourceDelta.TYPE | IResourceDelta.DESCRIPTION)) != 0) { > runnables.add(getUpdateRunnable(resource)); > } >+ else if((resource.getType() == IResource.FILE) && ((changeFlags & IResourceDelta.CONTENT) != 0)){ >+ runnables.add(getRefreshRunnable(resource)); >+ } >+ > // Replacing a resource may affect its label and its children > if ((changeFlags & IResourceDelta.REPLACED) != 0) { > runnables.add(getRefreshRunnable(resource));
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 260574
: 122145 |
122146