From: "Panayiotis Pantelides" <p.pantelides@signalgenerix.com>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: Including CheckNodeTree.java to a Matlab GUI
Message-ID: <ef5a699.14@webcrossing.raydaftYaTP>
Date: Fri, 13 Jul 2007 09:06:45 -0400
References: <ef5a699.9@webcrossing.raydaftYaTP> <ef5a699.10@webcrossing.raydaftYaTP> <ef5a699.11@webcrossing.raydaftYaTP> <ef5a699.12@webcrossing.raydaftYaTP> <ef5a699.13@webcrossing.raydaftYaTP>
Lines: 13
NNTP-Posting-Host: 213.149.172.132
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:418919



Hi all,

I am using the above two java classes (thanks Stephan !!!) in order
to build a tree containning a structure. My question is:

How can i create a function in Matlab that runs when i click down the
mouse?

and furthermore:

How can i make a function in Matlab that returns me which nodes have
been chosen so far. Is there a getSelectedNodes or something similar
that returns the selected nodes?