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 123065 Details for
Bug 250128
Preference for statically compiled JET templates
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]
patch with corrections
patch_pref_page2.txt (text/plain), 1.80 KB, created by
Milen Manov
on 2009-01-20 06:43:56 EST
(
hide
)
Description:
patch with corrections
Filename:
MIME Type:
Creator:
Milen Manov
Created:
2009-01-20 06:43:56 EST
Size:
1.80 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.jee.ui >Index: src/org/eclipse/jst/jee/ui/internal/navigator/JEE5ContentProvider.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.jee.ui/src/org/eclipse/jst/jee/ui/internal/navigator/JEE5ContentProvider.java,v >retrieving revision 1.2 >diff -u -r1.2 JEE5ContentProvider.java >--- src/org/eclipse/jst/jee/ui/internal/navigator/JEE5ContentProvider.java 21 Oct 2008 06:24:30 -0000 1.2 >+++ src/org/eclipse/jst/jee/ui/internal/navigator/JEE5ContentProvider.java 20 Jan 2009 11:41:24 -0000 >@@ -11,6 +11,7 @@ > package org.eclipse.jst.jee.ui.internal.navigator; > > import java.util.HashMap; >+import java.util.List; > import java.util.Map; > > import org.eclipse.core.resources.IProject; >@@ -23,6 +24,7 @@ > import org.eclipse.core.runtime.Status; > import org.eclipse.core.runtime.jobs.ISchedulingRule; > import org.eclipse.core.runtime.jobs.Job; >+import org.eclipse.jdt.core.ICompilationUnit; > import org.eclipse.jface.viewers.AbstractTreeViewer; > import org.eclipse.jface.viewers.ISelection; > import org.eclipse.jface.viewers.ITreeContentProvider; >@@ -112,8 +114,19 @@ > } > > public void modelsChanged(IModelProviderEvent event) { >- projectChanged(event.getProject()); >- >+ List<Object> changedResources = event.getChangedResources(); >+ if(event.getEventCode() == IModelProviderEvent.REMOVED_RESOURCE){ >+ for(Object changedResource : changedResources){ >+ if(changedResource instanceof ICompilationUnit){ >+ ICompilationUnit compUnit = (ICompilationUnit) changedResource; >+ if(true){ >+ projectChanged(event.getProject()); >+ } >+ } >+ } >+ }else{ >+ projectChanged(event.getProject()); >+ } > } > > public void onRefresh(final Object element) {
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 250128
:
120668
|
122535
|
123065
|
123173