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.
Summary: | "Generate Constructor" dialog only allows to chosse one item | ||
---|---|---|---|
Product: | java | Reporter: | Tim Lebedkov <lebedkov> |
Component: | Unsupported | Assignee: | Daniel Prusa <dprusa> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tim Lebedkov
2007-06-19 19:22:52 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. Multiple selection can be allowed to generate several constructors at once, similarly as it is supported e.g. when generating getters. Fixed. /java/editor/src/org/netbeans/modules/java/editor/codegen/ConstructorGenerator.java rev. 1.10 ok |