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 65382 - "Module Suite" combobox should preselect suite appropriately to the "context of addition"
Summary: "Module Suite" combobox should preselect suite appropriately to the "context ...
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-09-29 16:47 UTC by Tomas Danek
Modified: 2006-02-13 11:17 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 Tomas Danek 2005-09-29 16:47:37 UTC
in new module wizard, if more suites are open, preselect the one which is main
project (if so). 

Use case: I have more suites opened, i'm currently working on one which is set
as main project. If I want to add module, Add to module suite radiobutton is
correctly set, but in Module suite combo, the appropriate suite (the one i'm
working with - main project) is not preselected, so i might create module to
some another suite, when not noticing this.
Comment 1 Martin Krauskopf 2005-09-29 23:16:24 UTC
I don't think that a suite which is currently set as the main project should be
preselected in the combo box. It should work similar to how "New File" works. So
it should preselect the suite where cursor in explorer is currently positioned.
Also another case is when the popup menu on "Modules" node in Suite logical view
is used. So let's take and solve this more generally (change subject).
Comment 2 Jesse Glick 2005-09-30 02:45:09 UTC
I actually think that the main project, not the selected project, is the better
choice despite the inconsistency with New File. But no strong opinion.
Comment 3 Martin Krauskopf 2005-09-30 08:45:47 UTC
I'll try to implement it in some ways and try to play with it. We will see...
presuambly not critical.
Comment 4 Martin Krauskopf 2006-01-10 04:46:57 UTC
This should be easy enought to implement now since I added mechanism for
preselecting suite within fix for issue 65030.
Comment 5 Martin Krauskopf 2006-01-26 13:41:34 UTC
ui/wizard/NewNbModuleWizardIterator.java; 1.28 -> 1.29;
Comment 6 Tomas Danek 2006-02-13 11:17:23 UTC
Much better, thanks.