簡體   English   中英

在eclipse RCP中使用來自外部插件的圖像用於啟動畫面

[英]Use Image from outside plugin for splash screen in eclipse RCP

目前我正在從插件加載我的工具的啟動畫面圖像。是否可以從外部插件[從其他硬盤路徑]加載啟動畫面圖像?我的要求是給用戶一個選項來更改啟動畫面來自我產品本身的圖片。如有可能,請舉例說明。 提前致謝!

嘗試使用以下線程創建自定義Splash屏幕,例如: Eclipse RCP應用程序 - 自定義初始屏幕

使用以下擴展點注冊您的SplashHandler:

<extension point="org.eclipse.ui.splashHandlers">
   <splashHandler
        class="com.example.application.splash.SlideShowSplashHandler"
        id="splash.slideshow">
   </splashHandler>
   <splashHandlerProductBinding
        productId="com.example.application.product"
        splashId="com.example.application.splash.slideshow">
   </splashHandlerProductBinding>
</extension>

在Splash處理程序中,創建具有圖像的復合,該圖像取自用戶定義的位置。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM