Not sure what you want explained here? There are probably lots of tutorials on this on the net.
On 11/29/05, Cosmin Bucur <[EMAIL PROTECTED]> wrote:
I just want to build my own type of PartialTree , that instead of
files shows other objects .
In fact the scenario is a bit different as the objects shown in the
tree are not a single type of object ( allthohugh I might need to
write a single type of object enccapsulating diferentiation logic ...
i don't know , still trying to get how the tree's working )
Right now i'm stuck at the FileComparator . My first baby step was to
recreate Partial Tree in my app , and get it working . Got that . Now
next step is to replace the File objects in the tree with something
else that at least gets shown on the new level , and the link logic
works ...
My question here is . The compare method returns and int . I looked at
the javaDocs and it looks like the method used on the file could
return a 0 , negativev or positive int . . .
What and how would I return stuff here ? ? ??
I am very confused , a simple tree with no links it's easy to get ,
but when you need something that actually has functionality ...
Thanks .
cosmin
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
