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 46241 - CVS: Disable "Browse" button if :local: type is not selected.
Summary: CVS: Disable "Browse" button if :local: type is not selected.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: UI, USABILITY
Depends on:
Blocks:
 
Reported: 2004-07-16 15:12 UTC by Jiri Kovalsky
Modified: 2006-03-24 10:33 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 Jiri Kovalsky 2004-07-16 15:12:24 UTC
Development build #200407151800 of NetBeans 4.0
Windows XP, JDK 1.5.0 Beta

Description:
============
"Browse..." button allowing to select local
repository location should be disabled when other
connection path is selected.

Steps to reproduce:
===================
1. Invoke "Versioning|Versioning Manager" menu.
2. Click "Add..." button and select CVS profile.
3. Select "pserver" as "CVS Server Type".
4. "Browse..." button of "Repository Path" is enabled.
Comment 1 Martin Entlicher 2004-08-02 20:23:45 UTC
I agree that this is confusing. We have to enable/disable the button
conditionally somehow.
Comment 2 Martin Entlicher 2004-08-03 18:31:29 UTC
There was already a way how to display the browse button
conditionally. But it was treated in a statical way. We've added
a dynamic mode to the VariableInputDescriptor to distinguish that.
Fixed in trunk:

/cvs/vcscore/src/org/netbeans/modules/vcscore/Variables.java,v  <-- 
Variables.java
new revision: 1.20; previous revision: 1.19
done
Processing log script arguments...
More commits to come...
Checking in
vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.java;
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.java,v
 <--  VcsCustomizer.java
new revision: 1.139; previous revision: 1.138
done
Processing log script arguments...
More commits to come...
Checking in
vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml,v
 <--  cvs.xml
new revision: 1.80; previous revision: 1.79
done
Processing log script arguments...
More commits to come...
Checking in
vcscore/src/org/netbeans/modules/vcscore/util/VariableInputComponent.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/util/VariableInputComponent.java,v
 <--  VariableInputComponent.java
new revision: 1.11; previous revision: 1.10
done
Checking in
vcscore/src/org/netbeans/modules/vcscore/util/VariableInputDialog.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/util/VariableInputDialog.java,v
 <--  VariableInputDialog.java
new revision: 1.90; previous revision: 1.89
Comment 3 Jiri Kovalsky 2006-03-24 08:27:39 UTC
Verified in FCS build #200505031930 of NetBeans 4.1.