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.
filed just to describe problem with generalization link from enum to enum separately. It is now allowed to draw Generalization link from Enumeration to Enumeration elements on class diagram. And source file generated for source element is empty. This ability should be disabled in java-model uml project. But it is valid and should still be possible in independant uml project.
the following related issues are filed already: issue 78453 - It is possible to draw 'Generalization' link from/to Enumeration element issue 87501 - Drawing Generalization link from enumeration to interface generate empty code
Planned for drawing area upgrade after NB 6.0.
Should not use resolved/later status.
Targeted in drawing area redesign.
Restoring original priority and using the standard NB waiver process.
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Actually why should this not be allowed. It is valid UML. I understand that in the Java model we want to make the model fit Java syntax. However we could always generate the code correctly. If you have a enumeration that should extend another enumeration, the generated code should simply have a enumeration that contains the literals from both the super enumeration and the subenumerations. This makes the enumeration more expressive than the source code (which is good) and does not require duplication (which also good). Therefore I am moving this to code generation.
Still exists in 6.5
http://hg.netbeans.org/uml-main/rev/17b61c4acb17
Reviewed
verified in build 20080918. Codes generated now.
verified