You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2010/09/03 18:27:32 UTC

[jira] Updated: (PIVOT-626) Add "userData" member to TreeNode to facilitate right-click menu handling (among other things)

     [ https://issues.apache.org/jira/browse/PIVOT-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb updated PIVOT-626:
---------------------------------

    Attachment: userdata.diff

This is an SVN diff that implements this change.  It builds fine and seems to work in practice -- I'm using it right now.

> 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
>
>         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.