如何從自定義 Eclipse 歡迎頁面插件上的鏈接標記在外部瀏覽器上顯示 url?
以下代碼是我到目前為止從 intro.xml 獲得的示例,當我單擊 Eclipse Welcome-page 中的鏈接時它正在作業,但它顯示來自 Eclipse 內部瀏覽器的 url,我需要顯示它在外部瀏覽器上。
<link
label="Google"
url="https://www.google.com/"
id="link-img-google"
style-id="link">
<text>Please read the "Please visit Google"</text>
</link>
uj5u.com熱心網友回復:
我通過更改 url 屬性內容結構以打開外部瀏覽器找到了解決方案,這里是更改:
<link
label="Google"
url="http://org.eclipse.ui.intro/openBrowser?url=https://www.google.com/"
id="link-img-google"
style-id="link">
<text>Please read the "Please visit Google"</text>
</link>
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/431341.html
標籤:爪哇 蚀 日食插件 eclipse-rcp
上一篇:如何在Eclipse中將現有的GitHub存盤庫添加到PHP專案中?
下一篇:Eclipse除錯Alsa
