Hello people

I continue working with the tree control.
As a first result of a fast reading of the IDL, I have adapted the
Scripting Framework example on the Developer's Guide
OpenOffice.org_2.3_SDK/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector

You can find it here:
http://www.arielconstenlahaile.com.ar/ooo/docs/TREE_CONTROL.zip

I did it very fast, so I'm not completely sure if it works 100% (I
didn't test the Scripting Framework API) and the code is not very clean.
You can test it on your own.

And of course there will be some Java examples implementing the
XTreeDataModel.

Once I'm sure I understand everything (besides the differences, it's not
so difficult if you're used to the JTree), I hope I could write a short
tutorial on this topic (in Spanish and English): I have recived ten
mails yesterday from my web site asking how to use it, they were
surprised that this feature is available but there is no documentation
at all (no API ref., and most important: no OOo Help at all!!!).

In this situation, the common user with no programming knowledge at all
gets disappointed when he/she can draw a control on the Basic IDE, but
it has no functionality at all (not even a sample tree drawn in the
control, as in the NetBeans IDE).

Bye and thanks.

PS 1: do you know who wrote the ScriptSelector, so I give him/her the
credit in my HOW-TO?

PS 2: though my English is very me-Tarzan-you-Jane, isn't it wrong
"Childs" as plural of "Child", instead of "Children"? The Java API uses
Children for the plural ( z.B. DefaultMutableTreeNode.allowsChildren ,
.children, .getAllowsChildren() ... ), OOo API "Childs".


--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.arielconstenlahaile.com.ar/ooo/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to