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 110809 - attributes and operations compartments are collapsed after inserting a new element to a class node.
Summary: attributes and operations compartments are collapsed after inserting a new el...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords:
Depends on:
Blocks: 110808
  Show dependency tree
 
Reported: 2007-07-24 17:31 UTC by George Vasick
Modified: 2007-09-14 18:45 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 George Vasick 2007-07-24 17:31:14 UTC
steps to reproduce:

1)  create a java platform model
2)  create a package: mypkg
3)  add class one to mypkg
4)  add two new attributes to class one.  name them red and green.
5)  expand the operations container.
6)  add new attribute.
7)  notice that both the attributes and operations containers are closed.
8)  expand both the attributes and operations containers.
9)  add either and attribute or operation.
10) notice that both containers are closed again.
Comment 1 Thuy.d Nguyen 2007-09-07 03:00:50 UTC
Fixed the logic to update the affected tree nodes. 
This is how the node behavor after the fix:
When a folder node (e.g. Operations, Attributes) is 1st created, the folder node is initially collapsed. But once it is
manually expanded,  it stays expanded for subsequent creation of operations or attributes.
Comment 2 Joanne Lau 2007-09-14 18:45:41 UTC
Fix verified in instrumented build 200709140225