Skip to main content


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
steps:


-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 ");
splash.setImage(img);
super.init(splash);


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 Sep 26 20:35:20 GMT 2024

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

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

Back to the top