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.
Original submitter: sergeyp Description: User can edit text in template parameters field of template class on the diagram But changes in the field affect class name but do no affect parametes. This field isn't editable in initial version Steps to reproduce: 1. create class diagram 2. place template class on the diagram and name it 3. add some template parameters by UML Properties tab parametes shoul appear in upper rectange of the template class 4. double click on rectangle with template parametes (on the diagram) template parametes replaced with class name (It's wrong) 5. enter some value in field name changed to the value and parameters remain old Field should be disabled or allow to enters new comma separated parameters. xxx@xxxx 10/8/04 10:59 GMT
this one should be a P2 bug.
You are no longer able to edit the temlate parameters.
The issue is still reproduced in ide_uml-griffin-070207_9-ml.zip Note that the fix makes worse usability of template parameters so the another issue should be filled. I think it is better to fix the root issue rather to produce another issues.
Created attachment 38352 [details] The template parameter is still incorrectly editable
2 questions. How does it make a worse usablilty problem, since the user was not able to change the template parameters via the edit control before the fix? Since the user was not able to change the parameters via the property editor, but they where given the illusion that they would be able to change the parameters via the property editor. I think that is a worse usability issue than having to use the property editor to modify the template parameters. Also this approach is similar to the rest of the class diagram. You are not able to change the stereotypes or tagged values via the diagram. You have to use the property editor. Second question is in the issue it states "Field should be disabled or allow to enter new comma seperated parameters". I choose to implement the disabled approach. If a new issue is created, then it should be an enhancment request not an issue. Because this approach seems to fit the rest of the class element. I am marking this issue fixed, because I was not able to reproduce this issue. I am not able to enter edit mode for the template parameter. Please put more information in if you reopen the issue.
isn't committed yet
This issue is fixed.
I can navigate to template parameters compartment with Shift-Arrow(right/left) button and press enter/or f2 and edit it the same way as before
Disabled the ability to select a Template Parameter Compartment for editing.
verified in build 070216_4.