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 7347 - Explorer context menu has "New-->CVS" instead of "Mount-->CVS"
Summary: Explorer context menu has "New-->CVS" instead of "Mount-->CVS"
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 major (vote)
Assignee: Rostislav Levy
URL:
Keywords:
Depends on:
Blocks: 7376
  Show dependency tree
 
Reported: 2000-08-11 01:38 UTC by Ann Sunhachawee
Modified: 2008-12-23 11:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ann Sunhachawee 2000-08-11 01:38:31 UTC
The right click context menu off of the Filesystems node in Explorer should have
the menu item "Mount..." pullright instead of the label "New...". This is
because one mounts an existing version control system, not create a new one.
Also, it is confusing to the user, who may expect to see the New from Template
items listed here (as they are on the right click menus off of the mounted
filesystems).
Comment 1 Jiri Kovalsky 2000-08-11 08:53:59 UTC
You are right that in most cases you mount an existing CVS filesystem. On the
other hand you also sometimes need to create the new one. And via "New->CVS" it
is possible. I agree that renaming it to "Mount->CVS" would be less misguided.
Comment 2 Ann Sunhachawee 2000-08-11 17:16:59 UTC
It seems that we may need a new category in the "New" dialog to handle this case
of creating a new CVS filesystem as well as other version control systems.
Comment 3 Jesse Glick 2000-08-11 18:21:59 UTC
Note that there is not a particularly straightforward way to do this, as the
APIs do not provide for you to change the label of the submenu, only the
contained items. You could create a new action just for this purpose, but that
is a bad idea since it breaks the code association that this is a new type for
the Filesystems node, which could impact things like scripting and so on.
Comment 4 Ann Sunhachawee 2000-08-11 18:36:59 UTC
Jesse, I don't fully understand your comment. are you saying that it is not easy
to change the label of the Explorer's context menu from "New" to "Mount"?

My previous comment on this bug referred to adding an entirely new category to
the New (New from Template) dialog to account for creating new version control
systems.
Comment 5 Jesse Glick 2000-08-14 10:58:59 UTC
Right--the node lists NewType's which specify what new things can be added
underneath it; NewAction shows these in a submenu and this action (not the node)
adds the label "New ". So NewAction as is cannot be used to display "Mount ". If
it seems important, perhaps NewAction could have protected methods to get the
required display labels (one a format when =1 NewType, one a fixed string for
the submenu when >1 NewType), so that nodes like this one could specially
subclass NewAction with this change and include that action in their context
menu instead. If you think this should be done, please propose it on dev@openide
with a reference to this bug #.

What is displayed using the dialog is an entirely independent issue, I am only
referring to the Explorer's context menu.
Comment 6 Rostislav Levy 2000-08-16 09:33:59 UTC
The Filesystems popup menu - move items from submenu New to the main popup menu.
Comment 7 Marian Mirilovic 2001-11-29 16:08:40 UTC
verified in [nb_33](200111291155)
Comment 8 Quality Engineering 2003-07-01 16:18:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.