How do I get copyright information to show up in my Eclipse RCP application's “About” dialog

僤鯓⒐⒋嵵緔 提交于 2019-12-11 03:24:55

问题


I'm using Eclipse's IWorkbenchAction that shows the Eclipse About dialog.

When I use the action in my RCP application the About dialog shows up successfully.

But, when I think proceed to click the "Installation Details" button, I get a dialog with tabs. I navigate to the "Installed Software" tab, and see my RCP product's name along with its version, and its ID. I select this item in the table, then proceed to click the "Properties" button.

Once I'm here, I see a dialog that looks similar to Eclipse's Preference dialog. It has three items to select on the left... Copyright, General Information, and License Agreement.

I've successfully added my License information to my .product file in order to have it show up when I click the "License Agreement", but...

I can't find where I should put the copyright information in order to get it to show up when I click the "Copyright" item in the list on the left of this dialog.

Where do I add this information so that it will show up here?


回答1:


This information comes from p2 IInstallableUnit. Are you building your plugins with p2? if you implement p2 update you should be able to see this information. p2 build will copy this information from feature.xml.

I am addressing this question: "I can't find where I should put the copyright information in order to get it to show up when I click the "Copyright" item in the list on the left of this dialog"

This copy right information you should get it from feature group when you build with tycho.

For product, there is no copy right information only license info. you put copy right information in feature.xml



来源:https://stackoverflow.com/questions/12630124/how-do-i-get-copyright-information-to-show-up-in-my-eclipse-rcp-applications-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!