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 - Attribute/Operation compartments are closed for enumeration after attribute/operation DnD
Summary: Attribute/Operation compartments are closed for enumeration after attribute/o...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks: 133987
  Show dependency tree
 
Reported: 2006-08-02 15:05 UTC by Alexandr Scherbatiy
Modified: 2008-08-06 01:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.