DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page [Eclipse RCP]Change default icon
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default [Eclipse RCP]Change default icon - 11-18-2008, 10:18 AM

Hello hello,

I am currently working on a application using the RCP platform.
But i have a question about icons.
Is it possible to change the default icon the the console view (MessageConsole)?

Greetz,
LeDieu
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2008
Default 11-20-2008, 01:24 AM

Configure in plugin.xml

<view
name="xyz"
icon="icon/abc.ico"
class="a.b.c.consoleview"
id="abc">
</view>
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default 11-20-2008, 06:35 AM

Quote:
Originally Posted by joesusai View Post
Configure in plugin.xml

<view
name="xyz"
icon="icon/abc.ico"
class="a.b.c.consoleview"
id="abc">
</view>
Yes this works.... but as you know you can use the consoleview to create a new console tab. If i do this the new console tab uses the default console icon and not my defined icon.
So only the first tabedview uses my defined icon.

Greetz,
LeDieu
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2008
Default 11-20-2008, 07:04 AM

Quote:
Originally Posted by LeDieu View Post
Yes this works.... but as you know you can use the consoleview to create a new console tab. If i do this the new console tab uses the default console icon and not my defined icon.
So only the first tabedview uses my defined icon.

Greetz,
LeDieu
For each view you can define the icon. I guess you might have specified your icon for first tabedview.... and left the icon specification of console view, so that it has taken the default one.

So try by specifying the userdefined icon to console view property in plugin.xml.
Note: specify the exact path <view icon="exact path">.
Reply With Quote
  (#5 (permalink)) Old
Member
 
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default 11-22-2008, 08:03 AM

Quote:
Originally Posted by joesusai View Post
For each view you can define the icon. I guess you might have specified your icon for first tabedview.... and left the icon specification of console view, so that it has taken the default one.

So try by specifying the userdefined icon to console view property in plugin.xml.
Note: specify the exact path <view icon="exact path">.
Oke thanks... i will take a look at it.
Reply With Quote
Reply

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
Removing taskbar icon for a swing application. Dan True Java 2 01-13-2009 08:29 AM
Change default Eclipse Icons skasab2s Eclipse 4 12-10-2008 09:57 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
Post icon labels don't match glennji Feedback 0 02-15-2008 10:01 AM


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