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 81702

Summary: Attribute/Operation compartments are closed for enumeration after attribute/operation DnD
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: Diagram ClassAssignee: Trey Spiva <tspiva>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 133987    

Description Alexandr Scherbatiy 2006-08-02 15:05:44 UTC
Steps to reproduce:

1. Create a java-platform UML project
2. Create a class diagram and add two enumeration elements
3. Using contextual menu item, expand the attribute, opration compartments
   of both the enu elements
4. To one of the enumeration elements, add a few attributes.
   get/set method generated automatically.
5. Save all.
6. on diagram editor, drag/drop Attribute from one Enum to another
    
    The Attribute/Operation compartments are closed for both enumerations.
Comment 1 Trey Spiva 2006-08-02 16:29:50 UTC
This is by design.  Because in UML the only thing is displayed is the literals.
 We put the other compartments just as a convience for Java 5.

I think we need to rethink a way to make this easier to use.  So, I am marking
this as an enhancement request.
Comment 2 Trey Spiva 2008-06-26 22:34:29 UTC
Now the attribute and operation compartments are hidden until the enumeration owns a attribute or operation.  
Comment 3 Trey Spiva 2008-06-27 17:55:00 UTC
fix
Comment 4 Peter Lam 2008-08-06 01:42:47 UTC
verified in build 20080805.
compartments are no longer closed.