| Summary: | [package explorer] [working sets] Enable 'New' action for working sets | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | David Saff <david> | ||||
| Component: | UI | Assignee: | Benno Baumgartner <benno.baumgartner> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse, ekuleshov, ImmortalRick, markus.kell.r, martinae | ||||
| Version: | 3.1 | ||||||
| Target Milestone: | 3.3 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
David Saff
*** This bug has been marked as a duplicate of 78701 *** Actually, this is not a dup of 78701. Reopening... *** Bug 107002 has been marked as a duplicate of this bug. *** From Bug 107002 It is annonying that every time a new project is created it does not show up in the project explorer until it is manually added to the current working set (if one is active). It is a save bet that a new project should be added to the current working set so the new project wizard should take care of that. *** Bug 107134 has been marked as a duplicate of this bug. *** From bug 107134 -- Select working set node in Package Explorer view -- Choose "Create new Project..." from main menu of from popup menu (see separate request for this) -- Project should be automatically added to this working set *** Bug 114502 has been marked as a duplicate of this bug. *** bug 150009 is about adding controls to the new project wizard so that working sets can be specified. I would like to use this bug for the missing 'New' action in the context menu on working set elements. Benno, can you look at this as a polish item? Created attachment 63711 [details]
fix
This only works for Java Projects. However, it is still an improvement.
fixed > I20070410-1043 Sorry, I disagree with this fix. The 3.3 way of adding elements to a working set is to call workingSet.adaptElements(..) and add the resulting elements to the working set. This way, elements can be added properly to all kinds of working sets that support them. Furthermore, I think it is confusing to add this support without adding the UI from bug 150009 at the same time. (In reply to comment #11) > Sorry, I disagree with this fix. The 3.3 way of adding elements to a working > set is to call workingSet.adaptElements(..) and add the resulting elements to > the working set. This way, elements can be added properly to all kinds of > working sets that support them. I add an element created by the new java project wizard to a java working set. I see no need to adapt. Or is it possible, that a java project can not be added to a java workingset? > > Furthermore, I think it is confusing to add this support without adding the UI > from bug 150009 at the same time. > I'm aware of that. Looks like 150009 won't happen in 3.3. I think it is more confusing to create a project and then the project is not revealed in the package explorer. What exactly do you find confusing? Verified in I20070502-0010: works if a single working set is selected but not for multiple selection, see bug 185172. |