Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313195

Summary: Open type dialog may show that a working set is in used
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: deepakazad
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Frederic Fusier CLA 2010-05-17 13:13:11 EDT
Using 3.6RC1.

During the test day, I was using Eclipse in an unusual way, hence I set a working set in every places I can. E.g. I had set a working set in the Open type dialog reduced to the only project I had in my workspace: org.eclipse.jdt.core.

After having made many tests in my workspace with this unusual configuration, I imported the org.eclipse.jdt.ui plugin as binary projects and tried to open the RefreshAction type... and I was not able to see it. Immediately I suspected a problem in JDT/Core for the search all type name operation and try to import the plugin as source folders and several other unsuccessful tries... :-(

Until I remember that my Open type dialog was using a working set and then realize that the type I was trying to open didn't belong to it... :-S

Hence, I think that for users with a so little mind that I have, it could be interesting to have an visual reminder in the Open Type dialog saying that a working set is currently in used. Then, before blaming JDT/Core and opening a bug against this (wonderful) component, they should verify first that the working set currently in used is supposed to include the type they are looking for...
Comment 1 Deepak Azad CLA 2010-05-17 13:51:49 EDT
It already does that - see the dialog title, it should be 'Open Type - {Working Set Name}' ;-)

(To be honest even I didnt notice this rightaway)
Comment 2 Deepak Azad CLA 2010-05-17 13:53:52 EDT
(In reply to comment #1)
> It already does that - see the dialog title, it should be 'Open Type - {Working
> Set Name}' ;-)
and the same goes for Open Resource dialog.
Comment 3 Frederic Fusier CLA 2010-05-17 14:15:07 EDT
Oh, ok, but IMHO this is not enough visible...

Anyway, there's a way to show that a working set is in used. I'll be aware for the next time...
Thanks