Eclipse插件的自定义启动屏幕(非RCP) [英] Custom splash screen for Eclipse plugin (Non-RCP)
问题描述
我想为我为Eclipse开发的插件打上烙印。我从一个自定义启动屏幕开始。我想要的是在安装了我的插件后,在Eclipse启动时显示自定义图像。请注意,我的插件位于 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.
到目前为止我发现的所有方法(添加 org.eclipse .ui.splashHandlers 扩展,并实现扩展 EclipseSplashHandler 的类),我已经尝试过了,但无济于事。启动时未显示任何自定义启动屏幕。我猜这些方法仅适用于Eclipse 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.
在Eclipse启动时,有什么方法可以显示自己的自定义图像?只有当用户安装我的插件时,它才会出现。
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.
推荐答案
初始图像位置是在RCP config.ini文件中指定的,您不能真正从插入。所以这是不可能的。在任何情况下,插件都不应尝试更改产品的初始屏幕。
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.
这篇关于Eclipse插件的自定义启动屏幕(非RCP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!