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 116357 - Should provide a default target java project path or meanful prompt message
Summary: Should provide a default target java project path or meanful prompt message
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 17:23 UTC by Sherry Zhou
Modified: 2007-10-01 18:11 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 Sherry Zhou 2007-09-21 17:23:46 UTC
trunk build 3422 (09/21)

If there is no any java project opened in IDE, the target project dropdown list in
code generation dialog is empty.  It confuses users. So UML should either provide
a default target project path or display more helpful message to prompt user to 
create a target project first.
Comment 1 Craig Conover 2007-09-21 21:36:45 UTC
When no valid target projects are available (and doesn't have a previously set target project source folder), the
following will occur:
- Target Project and Source Root fields will be disabled
- Target Project field will display: <No Valid, Open Target Projects>
- Source Root field will display nothing
- Status message will display: At least one valid target project must be open.

OK button will be disabled as well (see issue 116364).
Comment 2 Sherry Zhou 2007-10-01 18:11:20 UTC
verified in trunk build 20071001131402