Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom splash screen for Eclipse plugin (Non-RCP)

I want to brand a plugin I developed for Eclipse. I am starting with a custom splash screen. What I want is to display a custom image when Eclipse starts-up, once my plugin is installed. Note that my plugin in non-rcp.

All the methods that I've found till now (Adding the org.eclipse.ui.splashHandlers extensions, and implementing a class that extends EclipseSplashHandler), I tried them already, but to no avail. No custom splash-screen shows-up on startup. I guess that these methods are specific to only Eclipse RCP applications.

Is there any way I can have my own custom image displayed when Eclipse starts-up? This will be only when the user installs my plugin.

like image 455
Aditya Grover Avatar asked Apr 14 '26 20:04

Aditya Grover


2 Answers

The splash image location is specified in the RCP config.ini file, you can't really change the contents of that from plugin. So this isn't possible. In any case a plugin should not be trying to change a product's splash screen.

You can add to the images in the About dialog using feature based branding.

like image 50
greg-449 Avatar answered Apr 17 '26 10:04

greg-449


When by chance I saw the question I had a gut feeling this is feasable.

To deal with splash, one has to use Eclipse P2 (Povisioning platform) – this is the only way to achieve that. The second point is to substitute splash after the first Eclipse restart – for that P2 touchpoint is the only solution. In Eclipse splash can be set in two places:

  1. in configuraiton/config.ini file, as osgi.splashPath
  2. in eclipse.ini file, as -showsplash parameter

There were 2 tasks - to create that "touchpoint" and to install it before our feature itself is installed. I created a simple plug-in, proof of concept, that implements this functionality - it substitutes original Eclipse splash after installation and changes splash to photos of the day from Bing.com - meet Bing splash plug-in!

Update site for Eclipse IDE - https://che4.github.io/

like image 38
Denis Kalinin Avatar answered Apr 17 '26 10:04

Denis Kalinin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!