Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » View: How to change the Icons
View: How to change the Icons [message #98575] Wed, 23 July 2003 12:28 Go to next message
Eclipse UserFriend
Hi,

I have build an plugin based on the view template.
Now I want to change the icons in the treeview.

Unfortunately I dont know, which class is setting the icons.

Which classes should I look at?

Every hint is welcome.

TIA + Regards,

Frank
Re: How to change the Icons [message #98915 is a reply to message #98575] Wed, 23 July 2003 22:44 Go to previous message
Eclipse UserFriend
Originally posted by: hlyiu.hotmail.com

Hi,

I am working on it also.

LabelProvider controls the image and text for the tree node, you need to set
getImage(Object element) in LabelProvider.
Check out setLabelProvider method in TreeViewer.

Davis

"Frank Fischer" <ff@semoe.de> ???????:bfmd30$eko$1@eclipse.org...
> Hi,
>
> I have build an plugin based on the view template.
> Now I want to change the icons in the treeview.
>
> Unfortunately I dont know, which class is setting the icons.
>
> Which classes should I look at?
>
> Every hint is welcome.
>
> TIA + Regards,
>
> Frank
>
Previous Topic:War file question
Next Topic:How do you set up a remote QuickDiff reference provider? (3.0 M2)
Goto Forum:
  


Current Time: Fri May 09 22:12:16 EDT 2025

Powered by FUDForum. Page generated in 0.24346 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top