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.
Summary: | newly created messages are not displayed on project tree if Messages/Interaction node are already expanded to create message | ||
---|---|---|---|
Product: | uml | Reporter: | Peter Lam <petersl> |
Component: | Diagram Sequence | Assignee: | Thuy.d Nguyen <thuydn> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 110808 |
Description
Peter Lam
2007-09-10 06:47:55 UTC
Just tested this issue on coco and griffin, and the issue is reproducible on both of the releases. Cause: All the events are blocked during the creation process of a message; hence the project tree is not notified of any message addition or change in the model. Fix: Modified code to fire a relationCreated event after a message has been processed to notify all the listeners of the change. The integration fixes both of the scenarios described above. Please verify. I did not include all scenarios in the issue because the general issue here was the refreshing. Now that I verified in the latest trunk build 20070914 that at least the scanerios listed are working. I tried creating the "Message to Self" and this message is still now showing up in the Messages node until a refresh. Message To Self is implemented in a separate class; thus the fix for other messages does not apply for Message to Self. I've added logic to fire relation-created event when Message to Self is added. verified in instrumented trunk build 200709232115. |