I have to admit, it's a little awkward at first.  For instance "going up the
tree", I was getting the selected path, then removing the last node from the
path, then taking that new path and grabbing the node.


Bob


On Tue, Feb 23, 2010 at 2:43 PM, Greg Brown <[email protected]> wrote:

> Hi David,
>
> You can use the get() method of org.apache.pivot.collections.Sequence.Tree
> to access your tree nodes by path.
>
> Greg
>
> On Feb 23, 2010, at 3:33 PM, David McNelis wrote:
>
> I have just changed a single select TreeView to a Multi, and am having some
> issues.
>
> Before I was able to use TreeView and the getSelectedNode() method, but
> clearly that doesn’t apply to this situation.
>
> The getSelectedPaths() seems to be the logical direction to go, but how to
> I retrieve the selected node(s) itself from there?  There is not a
> getNode(Path) method and the getNodeAt(int) returns another path.
>
> I’m I missing something obvious?  Or is this really not as straightforward
> as it would seem.
>
> Thanks in advance for any suggestions.
>
>
>
>

Reply via email to