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 37249 - It's necessary to have a possibility to disable/enable items in radio buttons group
Summary: It's necessary to have a possibility to disable/enable items in radio buttons...
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 25139
  Show dependency tree
 
Reported: 2003-11-14 16:17 UTC by Martin Entlicher
Modified: 2004-02-16 14:39 UTC (History)
0 users

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 Martin Entlicher 2003-11-14 16:17:13 UTC
Specifically in CVS profile it's necessary to be
able to automatically enable/disable selected
buttons in radio buttons group in the variable
input descriptor.

It's necessary to extend the ENABLE()/DISABLE()
functionality.
Comment 1 Martin Entlicher 2003-11-14 16:21:05 UTC
Scheduling for 4.0. This is necessary for the unified CVS profile.

There's a problem, that the whole group is represented by a single
variable, therefore the current concept of DISABLE(<var name>) or
ENABLE(<var name>) can not be used.
But every button in the group have specified some value. Therefore we
could refer to the desired button by the variable name and the value.
Thus we can use DISABLE(<var name>/<value>).

When a selected button would be disabled, the nearest enabled button
in the group will be selected instead.
Comment 2 Martin Entlicher 2003-11-14 17:59:50 UTC
Fixed in the main trunk:

http://vcscore.netbeans.org/source/browse/vcscore/src/org/netbeans/modules/vcscore/util/VariableInputDialog.java.diff?r1=1.61&r2=1.62

Also the logic added into the CVS profile:

Checking in Bundle.properties;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.18; previous revision: 1.17
Checking in cvs.xml;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml,v 
<--  cvs.xml
new revision: 1.4; previous revision: 1.3
Comment 3 dmladek 2004-02-16 14:39:43 UTC
Verified in VCS FS Customizer in 3.6Beta