Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-626

Add "userData" member to TreeNode to facilitate right-click menu handling (among other things)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2, 2.0
    • Component/s: wtk
    • Labels:
      None
    • Environment:
      WIndows XP SP3

      Description

      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.

        Attachments

        1. userdata.diff
          1.0 kB
          Roger Whitcomb

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              whiro01 Roger Whitcomb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified