Bug 31422 - Navigator View context menu not showing Open/Close Project options
Summary: Navigator View context menu not showing Open/Close Project options
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
: 31413 31469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-09 12:16 EST by David Jarrin CLA
Modified: 2003-02-15 21:52 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jarrin CLA 2003-02-09 12:16:29 EST
The Navigator View no longer shows an Open and Close Project options in context 
menu (i.e. menu that appears when right-cliking on a project folder). 
Up until M4 both menu options were there. I just installed M5 and the options 
are no longer available. This is a big usability booster, please put it back. :-
)
Comment 1 Sonia Dimitrov CLA 2003-02-11 11:35:48 EST
*** Bug 31413 has been marked as a duplicate of this bug. ***
Comment 2 Sonia Dimitrov CLA 2003-02-11 11:42:01 EST
*** Bug 31469 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2003-02-11 13:05:04 EST
We should be consistent with the Package Explorer.  They went through a menu 
reorganization for 2.0 and we should adopt their decisions where applicable.

I thought they had removed Open/Close Project, but it turns out that these 
still show up on the context menu.  They only show the  actions that are 
applicable to the selection though:
only open projects -> Close Project
only closed projects -> Open Project
mix of open and closed projects -> Open Project and Close Project

Some other differences:
- They only show Build Project, not Rebuild Project, and only for project 
elements, not children.
- Build, Open/Close and Refresh are grouped together.

Comment 4 Knut Radloff CLA 2003-02-11 14:53:33 EST
JDT must have just changed this. M4 has no open/close menu item in the context 
menu. I also got an (unrelated) PR about our workbench menu items a few weeks 
ago.
Note that the build menu item only shows up when auto build is disabled.

Are we sure then that this is what we want? 
Erich, do you plan any other changes to these menu items for 2.1?
Comment 5 Erich Gamma CLA 2003-02-11 15:35:25 EST
As a consequence of opening the package explorer for non-Java projects we can 
now also show closed projects (they have no nature and hence were considered as 
non-java projects and did not appear). Since closed projects are selectable 
again we made the actions available in the context menu (to be consistent with 
the Navigator's handling of open/close projects <g>).

We are not planning further changes to this context menu.
Comment 6 David Jarrin CLA 2003-02-11 15:48:06 EST
I've been trying to follow the discussion and just for clarification...

Erich Gamma wrote,

"We are not planning further changes to this context menu."

Erich was referring to the Package Explorer menu and NOT the Navigator menu, 
right?

I believe the context menus for these two views need NOT be necessarily the 
same. I would hope the original request to re-enable Open/Close Project in the 
Navigator View context menu (as it was up to M4) is still under consideration.

Comment 7 Nick Edgar CLA 2003-02-11 16:47:30 EST
David, Erich was only talking about the Package Explorer.

We should make the Navigator consistent with the Package Explorer, for 
Open/Close Project, Build, Refresh, and their grouping.
I don't think anyone will miss the disabled Open Project action when selecting 
already open projects, as long as Close Project is available.
Comment 8 Knut Radloff CLA 2003-02-11 16:54:29 EST
Ack. 
Erich, please make sure nobody on your team looks at the Navigator context menu 
for the next week or two <g>
Comment 9 Knut Radloff CLA 2003-02-15 21:52:59 EST
Brought build, refresh, open project, close project actions in sync with 
Package Explorer with one exception. Our refresh action is not enabled/visible 
when a closed project is selected. I think this is correct and the Package 
Explorer context menu should reflect this. Entered bug 31962.

The following conditions apply: 
 build-only projects selected, auto build disabled, at least one builder present
 refresh-no closed project selected
 open project-only projects selected, at least one closed project
 close project-only projects selected, at least one open project