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 107313 - "Generate Constructor" dialog only allows to chosse one item
Summary: "Generate Constructor" dialog only allows to chosse one item
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 19:22 UTC by Tim Lebedkov
Modified: 2007-09-26 09:14 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 Tim Lebedkov 2007-06-19 19:22:52 UTC
- alt+ins in the editor for a class that extends ImageIcon
- generate constructor
- only one item can be choosen
Comment 1 Jiri Prox 2007-06-20 09:24:28 UTC
I suppose you've meant Generate Constructor (invoked by "Constructor..." item in Generate menu)

It's as designed, since there can be only one super(...) call in the constructor. Maybe the UI should be changed to use
RadioButtons to make it clearer.
Comment 2 Daniel Prusa 2007-09-05 15:48:01 UTC
Multiple selection can be allowed to generate several constructors at once, similarly as it is supported e.g. when
generating getters.
Comment 3 Daniel Prusa 2007-09-11 10:21:00 UTC
Fixed.

/java/editor/src/org/netbeans/modules/java/editor/codegen/ConstructorGenerator.java
rev. 1.10
Comment 4 Tim Lebedkov 2007-09-19 18:52:55 UTC
ok