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 42886 - Unnecessary dialog button
Summary: Unnecessary dialog button
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2004-05-06 12:54 UTC by ats37
Modified: 2008-12-22 17:19 UTC (History)
0 users

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 ats37 2004-05-06 12:54:24 UTC
I'm using the Clearcase vcsgeneric profile.

I had a file open in the editor which I hadn't
checked out (so was read only).  When I started
typing I got a dialog asking "Do you wish to call
the edit command?", with buttons for Yes, No and
Cancel.  Asides from the fact that "check out"
might be more appropriate than "edit" when using
Clearcase, what exactly is the difference between
the No and Cancel options?  So far as I can see
they perform identically i.e. both of them take no
action, in which case the Cancel button is
redundant...


org.netbeans.modules.vcscore/1 [1.9.1 200404071636]
org.netbeans.modules.vcs.advanced/1 [1.9.1
200404071636]
org.netbeans.modules.vcs.profiles.clearcase/1
[1.1.1 ${buildnumber}]
org.netbeans.modules.vcs.cmdline.compat/1 [1.3.1
200404071636]
Comment 1 Martin Entlicher 2004-05-06 13:14:33 UTC
My assumption is that No and Cancel do the same.
Moving to openide/text for evaluation. This is the dialog that is
presented when UserQuestionException is catched.
Comment 2 Petr Nejedly 2004-05-07 09:40:41 UTC
OK, it's easy to change it to, say, Yes/No.
But the message is provided by the VCS module.
Comment 3 Petr Nejedly 2004-05-24 16:36:30 UTC
Fixed the button part of it in 
openide/src/org/openide/text/CloneableEditorSupport.java,v1.123

If you want the text part fixed as well, reopen for vcs.
Comment 4 Marian Mirilovic 2004-06-30 10:03:05 UTC
verified in [nb_dev](200406291800)