[
https://issues.apache.org/jira/browse/PIVOT-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906084#action_12906084
]
Roger Whitcomb commented on PIVOT-626:
--------------------------------------
Cool. Thank you.
Yeah, I added the "String" setter just to make sure it would work, but if it's
not necessary, then that's great.
> Add "userData" member to TreeNode to facilitate right-click menu handling
> (among other things)
> ----------------------------------------------------------------------------------------------
>
> Key: PIVOT-626
> URL: https://issues.apache.org/jira/browse/PIVOT-626
> Project: Pivot
> Issue Type: Wish
> Components: wtk
> Affects Versions: 1.5.1
> Environment: WIndows XP SP3
> Reporter: Roger Whitcomb
> Priority: Minor
> Fix For: 1.5.2, 2.0
>
> Attachments: userdata.diff
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> This wish/enhancement would be useful for those using the default
> TreeNode/TreeBranch as the data model for a TreeView -- the use case is the
> situation where an icon and/or string is sufficient for rendering in the tree
> but another type of object is more appropriate for determining (for instance)
> the right-click menu behavior, or the selection behavior of the tree node.
> The "String" override for "setUserData" also allows setting this property via
> WTKX/BXML files.
> Diff file attached to the issue I have running already.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.