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: | Drop-down config combo in Run button | ||
---|---|---|---|
Product: | projects | Reporter: | belur_1d <belur_1d> |
Component: | Generic Projects UI | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | gsporar, saubrecht, tboudreau |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 102614, 105664 | ||
Bug Blocks: | 49636 | ||
Attachments: |
run menu example
example run time configuration dialog configuration definitions dialog choose config dialog (appears after clicking on run config) |
Description
belur_1d
2006-12-08 04:13:28 UTC
This GUI element was certainly considered, and in fact attempted, but looks too ugly to be included in the product. You can turn it on by adding to netbeans.conf: -J-Dorg.netbeans.modules.project.ui.actions.MainProjectAction.SHOW_CONFIG_DROPDOWN=true See: http://projects.netbeans.org/buildsys/configurations.html If you're an expert at Swing/Java2D component programming, and have several machines (Win XP/Vista, Mac, Linux Gnome) at your disposal for testing (JDK 5/6, L&F XP/Vista/Aqua/GTK/Ocean, large/small icons), patches are welcome. :-) There is no standard component in Swing to provide this behavior and I was unable to locate a satisfactory license-compatible third-party component. Created attachment 41452 [details]
run menu example
I too like the ability to add multiple configurations, especially since you can no longer change JVM or applications arguments on a per file basis. I've used JBuilder for a long time, as well as, NetBeans. I think JBuilder has a nicely streamlined work flow for running different configurations. There is an entry in the "Run" menu called "Run Configuration". If no configuration has been defined, it pops a dialog to allow you to define a configuration. If only one configuration is defined, it immediately runs the configuration. If multiple configurations are defined, it pops a dialog to allow you to pick the desired configuration. I've attached a few screen shots to illustrate. Created attachment 41453 [details]
example run time configuration dialog
Created attachment 41454 [details]
configuration definitions dialog
Created attachment 41455 [details]
choose config dialog (appears after clicking on run config)
Implementing using new drop-down-button API. Checking in projects/projectui/arch.xml; /shared/data/ccvs/repository/projects/projectui/arch.xml,v <-- arch.xml new revision: 1.20; previous revision: 1.19 done Checking in projects/projectui/src/org/netbeans/modules/project/ui/actions/MainProjectAction.java; /shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/actions/MainProjectAction.java,v <-- MainProjectAction.java new revision: 1.17; previous revision: 1.16 done Checking in projects/www/buildsys/configurations.html; /shared/data/ccvs/repository/projects/www/buildsys/configurations.html,v <-- configurations.html new revision: 1.10; previous revision: 1.9 done Checking in projects/projectui/nbproject/project.xml; /shared/data/ccvs/repository/projects/projectui/nbproject/project.xml,v <-- project.xml new revision: 1.36; previous revision: 1.35 done Sorry, but this UI was rejected; see issue #105664. Will be backed out. |