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 116365 - Default values not shown in Template Parameter property values
Summary: Default values not shown in Template Parameter property values
Status: REOPENED
Alias: None
Product: uml
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 18:57 UTC by Joanne Lau
Modified: 2009-05-25 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot attached (142.71 KB, application/octet-stream)
2007-09-21 18:57 UTC, Joanne Lau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanne Lau 2007-09-21 18:57:04 UTC
NB: 200709210329

Steps to repro:
1) Create a UML Java-Platform model project
2) Create a class diagram and drop a class element in the diagram
3) Click "..." of "Template parameters" in the class element properties window
4) Click Add in the Template Parameters dialog 
5) Click OK
6) Repeat step 3 again to bring up the Template Parameters dialog
7) Notice 3 was inserted in the visibility property value
 (see attached screenshot)
Comment 1 Joanne Lau 2007-09-21 18:57:44 UTC
Created attachment 49263 [details]
screenshot attached
Comment 2 Craig Conover 2007-09-21 20:47:17 UTC
What's wrong with this? Is the value "3" wrong? I assume it is just the default visibility for the parameter.
Comment 3 Joanne Lau 2007-09-21 21:13:08 UTC
It is odd to see that this is the only field that has a default value, while none was provided in
the one especially labeled "Default element".  Besides, if 3 is the default value, it should be
inserted when clicking on the "Add" button the first time.  But however, it is empty and it only
shows after user selects it again from the Properties window.  Hence I think this is a bug.  
Comment 4 Craig Conover 2007-09-21 21:27:04 UTC
Perhaps summary should be "Default value(s) not shown during Template Parameter entry"?
Comment 5 Joanne Lau 2007-09-21 21:33:44 UTC
Good idea, I will modify the summary.