DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Change default Eclipse Icons
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Dec 2008
Default Change default Eclipse Icons - 12-09-2008, 02:49 PM

Hello
I have the following problem:

When I create an RCP application with a View I get the default Eclipse icons there :



How (and in which file) can I replace theese default icons with my own icons?
Attached Images
File Type: png SampleView.png (9.5 KB, 20 views)
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2008
Default 12-09-2008, 10:51 PM

In plugin.xml, you need to configure the icon for that particular view
eg:
<view
name=""
icon="icon.sample.gif"
class=""
id="">
</view>
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Dec 2008
Default 12-10-2008, 03:16 AM

Hello
Thanks for the reply

Sorry I meant the icons for the Items "One" "Two" "Three" (from the picture I posted). The white icons with three blue points on.

Svetlomir.
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2008
Default 12-10-2008, 07:19 AM

Modify the following.
NavigationView class-->viewLableProvider-->imageKey
Note: I guess you have used RCP Mail Template for your application

Right now imagekey would be using images from IsharedImage..so you need to register your own image and set that registered image to imageKey in Navigationview class.

you need to register the image at Activator.java class
Reply With Quote
  (#5 (permalink)) Old
Member
 
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Dec 2008
Default 12-10-2008, 09:57 AM

Thanks joesusai,

it worked as you sad

Greets.

Svetlomir.

Quote:
Originally Posted by joesusai View Post
Modify the following.
NavigationView class-->viewLableProvider-->imageKey
Note: I guess you have used RCP Mail Template for your application

Right now imagekey would be using images from IsharedImage..so you need to register your own image and set that registered image to imageKey in Navigationview class.

you need to register the image at Activator.java class
Reply With Quote
Reply

Tags
change, eclipse, icon

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Eclipse RCP]Change default icon LeDieu Eclipse 4 11-22-2008 08:03 AM
SWT application - Default folder pjmorce Java 0 09-08-2008 05:29 AM
hiding default preferences kerspe Eclipse 0 09-01-2008 03:57 AM
Customising icons in Eclipse RCP's Help navigator wweatherill Eclipse 0 08-07-2008 04:53 AM
One filetype two icons joey73 Eclipse 0 04-15-2008 01:16 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com