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 210327 - Outline no longer refreshes column data after TreeModel.nodeChanged(TreeNode)
Summary: Outline no longer refreshes column data after TreeModel.nodeChanged(TreeNode)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2012-03-28 22:26 UTC by chaddaniels
Modified: 2014-06-13 17:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Patch (1.25 KB, patch)
2014-06-13 17:21 UTC, punx120
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chaddaniels 2012-03-28 22:26:27 UTC
Previous to 7.0, a row in an Outline could be refreshed simply by calling the TreeModel's nodeChanged(TreeNode) method.  The new behavior for 7.0+ is that this method will only refresh the tree column data, and all other columns will remain with their old data. 

It has been suggested that this is an undesired outcome of Bug 185810.

Please see the discussion on the forums at:
Comment 1 punx120 2014-06-13 17:12:44 UTC
I believe I found the problem. In EventBroadcaster, when it creates TableEvent, the "changed" column is 0 in translateEvent and createTableChangeEvent, even though the good value TableModelEvent.ALL_COLUMNS is in the comment.

With that value changed, it works.
Comment 2 punx120 2014-06-13 17:21:05 UTC
Created attachment 147671 [details]

Here's the patch