0
我通過擴展BasicSplashHandler
創建了一個簡單的eclipse啓動畫面。Eclipse自定義閃屏插件不觸發
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.splashHandlers">
<splashHandler
class="splash.MySplashHandler"
id="splash.splashHandler">
</splashHandler>
<splashHandlerProductBinding productId="splash.splashHandlerProductBinding"
splashId="splash.splashHandler">
</splashHandlerProductBinding>
</extension>
</plugin>
FlashHandler類
public class MySplashHandler extends BasicSplashHandler {
public MySplashHandler() {
super();
}
@Override
public void init(Shell splash) {
//To make this more simple, I just print it out for now.
System.out.println("This doen't triggered");
super.init(splash);
}
}
但是當我運行將項目作爲Eclipse應用程序,它仍然顯示默認的飛濺,而不是我的。 (上面的示例中,我移除了所有自定義UI組件。)
是否還有其他任何操作可激活自定義splash?