如何获得版权信息以显示在我的Eclipse RCP应用程序中.对话 [英] How do I get copyright information to show up in my Eclipse RCP application's "About" dialog

查看:74
本文介绍了如何获得版权信息以显示在我的Eclipse RCP应用程序中.对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse的IWorkbenchAction,其中显示了Eclipse About对话框.

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

当我在RCP应用程序中使用操作时,关于"对话框将成功显示.

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

但是,当我认为继续单击安装详细信息"按钮时,会出现一个带有选项卡的对话框.我导航到已安装的软件"选项卡,并查看我的RCP产品的名称,版本和ID.我在表格中选择此项目,然后继续单击属性"按钮.

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.

一旦我在这里,我会看到一个对话框,其外观类似于Eclipse的首选项"对话框.它的左侧有三个选项可供选择...版权,一般信息和许可协议.

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.

我已成功将我的许可证信息添加到我的.product文件中,以便在单击许可协议"时将其显示出来,但是...

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?

推荐答案

此信息来自p2 IInstallableUnit .您是否正在使用p2构建插件?如果实施p2更新,则应该可以看到此信息.p2版本会从feature.xml复制此信息.

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"

使用tycho构建时,应从功能组中获取此版权信息.

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

对于产品,没有版权信息,只有许可证信息.您将版权信息放入了feature.xml

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

这篇关于如何获得版权信息以显示在我的Eclipse RCP应用程序中.对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆