How do i get the System icon to display on my Tree ? [message #436166] |
Thu, 01 September 2005 04:25 |
Eclipse User |
|
|
|
Originally posted by: gkurien.icope.com
hi ,
i was trying to make a Tree component to implement the Directory
Structure ...
there are some thing i like to know ...
1.)
Creating a tree by making TreeItem's and then putting it in the viewer
like---> viewer=new TreeViewer(tree) .
or
Using the setContentProvider() and setInput() method of Viewer, the
right method to make a tree ?
wat is the difference betwen the two methods ?
2) i have made the Directory structure and i have used the labelProvider
to put images on the TreeItems ...but it lacks the look and feel of
Windows ..if i want to put the Systemicon as the image how do i get the
image from the System ....Is there any way to get the systemIcon and the
convert to Image ?
|
|
|
Powered by
FUDForum. Page generated in 0.03924 seconds