Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Change Splash Image depending on a user preference
Change Splash Image depending on a user preference [message #518179] Wed, 03 March 2010 11:07
Juan is currently offline JuanFriend
Messages: 29
Registered: July 2009
Junior Member
Hi everybody!

I need to do something "simple" in principle:

I wanna let the user to select a path to an image to be used as splash
image in my RCP. Now I only can show the .bmp that is in my product
plugin, but i would like to change it. I have tried to do the following

-1) I created a plugin with the org.eclipse.ui.splashHandlers extension
and placed the .bmps images in it.

-2) I have created a Splash Handler (extending EclipseSplashHandler) and
I have overrided the init(Shell) method using the next:

Image img =
getImage(Activator.getDefault(),"icons/splash_selected_by_user.bmp ");

But it does not work, the default ".bmp" (placed in my RCP product
plugin) is always used though I have specified in the Splash section of
my configuration.product that it should be used the plugin I created in
the step 1) for the splash image.

Please, somebody could give me a clue or help me in this.

Thanks in advance!!!
Previous Topic:is it possible to replace the default item icon in toolbar?
Next Topic:Activate plugin on one editor
Goto Forum:

Current Time: Thu Apr 26 08:08:09 GMT 2018

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

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