This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 37877 - Flatten Mount menu
Summary: Flatten Mount menu
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Entlicher
URL: http://vcsgeneric.netbeans.org/propos...
Keywords: UI
: 37593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-09 10:09 UTC by David Kaspar
Modified: 2005-07-25 09:33 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2003-12-09 10:09:05 UTC
For now Mount Filesystem menu has following structure:
Mount -> Local Directory
      -> Archive Files
      -> Version Control -> CVS
                         -> Generic VCS

Flatten this hierarchy and use separator instead
of "Version Control" menu.
After change:
Mount -> Local Directory
      -> Archive Files
      -> ---------------
      -> CVS
      -> Generic VCS

Note that CVS menu item will not exist in the future.
Comment 1 Martin Entlicher 2003-12-16 10:20:05 UTC
I do not own the mount menu => I'm not sure whether it's possible to
add a separator. The "Version Control" nested menu was created
intentionally some time ago.

Perhaps we can have:

Mount -> Local Directory
      -> Archive Files
      -> Generic VCS

CVS is gone. This can be achieved easily.

And what to do with Versioning->Mount Version Control->Generic VCS?
Should it stay as it is?
This duality will be hard to achieve from the implementation point of
view.

Comments?
Comment 2 Patrick Keegan 2003-12-16 11:52:53 UTC
BTW, I don't think the word "generic" has any value any more either. I
think "Version Control" would be better. In the versioning menu, I
think the item should just be Mount Version Control with no submenu.
Comment 3 Martin Entlicher 2003-12-16 12:09:11 UTC
Partick, it looks like your idea was specified just before you've said
it. :-) Have a look at
http://vcsgeneric.netbeans.org/proposals/FS_Setup_UISpec.html
Comment 4 Martin Entlicher 2003-12-16 12:32:53 UTC
However, we must implement it carefully, not to disable extensibility.

There is Mount/VCS folder is the XML layer. The VCS corresponds to
"Version Control". In this folder there is currently just "Generic
VCS", but other modules can add there their own mount wizards (like
ClearCase from Rational, TeamWare, etc.). How these actions should be
displayed then?

To achive the desired appearance, one would have to implement a
"Version Control" action, that will behave in a special way:

- If there is only "Generic VCS" in "VCS" folder, it would act as an
  alias to "Generic VCS". Thus the appearance will look as specified.
- If there are more actions in "VCS" folder, it can create either
  nested menu "Version Control" -> ... as it is now, or it can add
  a separator and add the items into the current menu (as proposed by
  David).
- If there is just one action, that is different from "Generic VCS" it
  would present that menu instead of itself.
- If there is nothing in "VCS" folder, it will not be visible at all.

Is this reasonable? I hope it's implementable ;-)
Comment 5 Martin Entlicher 2003-12-16 12:34:08 UTC
*** Issue 37593 has been marked as a duplicate of this issue. ***
Comment 6 _ gtzabari 2003-12-16 13:25:58 UTC
My 2 cents: either display,

-> Version Control -> CVS
                   -> ClearCase
                   -> All other profiles..

or kill the submenu and clicking on Version Control (which is a much
nicer name than Generic VCS!) opens up the wizard.
Comment 7 Patrick Keegan 2003-12-16 14:55:18 UTC
Martin, I thought about the extensibility part also. I think the
solutions you talk about sound fine. For me, the key is that we
optimize for the most typical case, and I *think* the most usual case
would be having just the current 'generic vcs' wizard and not other
special wizards.
Comment 8 Martin Entlicher 2004-02-18 09:46:33 UTC
This was already implemented according to issue #39553.
Comment 9 Peter Pis 2005-07-25 09:33:09 UTC
Verified.