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 90813 - Code is generated only for one of selected elements on diagram
Summary: Code is generated only for one of selected elements on diagram
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 12:04 UTC by Alexandr Scherbatiy
Modified: 2008-06-18 18:04 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 Alexandr Scherbatiy 2006-12-08 12:04:37 UTC
Steps to reproduce:

- Create a Class diagram
- Put 3 Class elements on the diagram and name them
- Select all elements on the diagram
- Right-click on an element and invoke 'Generate Code'
  The code is generated only for one element, not for all.
Comment 1 Peter Lam 2007-03-20 20:11:46 UTC
low use case not currently impacting our installed user base.
Comment 2 George Vasick 2007-07-13 16:25:08 UTC
Waiver candidates from 7/12/2007 bug scrub.
Comment 3 Craig Conover 2007-07-13 17:14:00 UTC
Some insights into what to look for... possibly:
In the GenerateCodeAction, only one node is passed in as an "activated node" even though there is more than one selected
element. This could be a NetBeans TopComponent/Editor issue, or more likely, a DiagramTopComponent issue in UML module.
Comment 4 George Vasick 2008-01-02 17:50:28 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 5 Joanne Lau 2008-06-18 18:03:33 UTC
Not reproducible in 6.5
Comment 6 Joanne Lau 2008-06-18 18:04:36 UTC
verified in 080617