[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-ui-dev] treeviewer
|
Hi,
I have been recently working with the CheckBoxTreeViewer.
To display the text you need to create a LabelProvider which has getText()
and getImage() methods you can implement to return the text/image that you
want for a particular node in the tree.
Hope this helps.
-Mehjabin
-----Original Message-----
From: Monica Singhal, Noida [mailto:monicas@xxxxxxxxxxxxxxxxx]
Sent: Thursday, March 13, 2003 2:51 AM
To: platform-ui-dev@xxxxxxxxxxx
Subject: [platform-ui-dev] treeviewer
Hi,
i want to display some text strings, say "root" and its children say
"child1", "child2" in the treeviewer. i know the getElement() and the
getChildren() methods return the Object[]. can you tell me how to return the
string data to get the desired result.
thanks
Monica
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev