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 40381 Details for
Bug 139933
[CommonNavigator][Java] Deleting multiple projects does not remove them from project explorer
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]
Converts IJavaModel to Viewer Input.
org.eclipse.jdt.ui_bug139933.txt (text/plain), 1.31 KB, created by
Michael D. Elder
on 2006-05-04 13:00:00 EDT
(
hide
)
Description:
Converts IJavaModel to Viewer Input.
Filename:
MIME Type:
Creator:
Michael D. Elder
Created:
2006-05-04 13:00:00 EDT
Size:
1.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui >Index: ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java,v >retrieving revision 1.5 >diff -u -r1.5 JavaNavigatorContentProvider.java >--- ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java 4 May 2006 13:52:13 -0000 1.5 >+++ ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java 4 May 2006 16:58:18 -0000 >@@ -13,6 +13,7 @@ > import java.util.Arrays; > import java.util.Iterator; > import java.util.LinkedHashSet; >+import java.util.List; > import java.util.Set; > > import org.eclipse.core.resources.IContainer; >@@ -216,5 +217,21 @@ > else > super.postAdd(parent, element); > } >+ >+ >+ protected void postRefresh(final List toRefresh, final boolean updateLabels) { >+ for (Iterator iter = toRefresh.iterator(); iter.hasNext();) { >+ Object element = iter.next(); >+ if(element instanceof IJavaModel) { >+ iter.remove(); >+ toRefresh.add(getViewerInput()); >+ super.postRefresh(toRefresh, updateLabels); >+ return; >+ } >+ } >+ super.postRefresh(toRefresh, updateLabels); >+ >+ } >+ > > }
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 139933
:
40194
|
40381
|
40418