我可以在RCP应用程序中创建的项目中添加自定义的属性页 [英] Can I add my customized property page in projects created in RCP application
本文介绍了我可以在RCP应用程序中创建的项目中添加自定义的属性页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在RCP应用程序中创建了一个项目
右键单击项目,在属性对话框中。可以添加自己的自定义属性页吗?
I created a project in RCP application right click on the project, in the "properties" dialog. Can I add my own Customized property page?
推荐答案
使用 org.eclipse.ui.propertyPages
扩展点来定义新的属性页面。如下所示:
Use the org.eclipse.ui.propertyPages
extension point to define new property pages. Something like:
<extension point="org.eclipse.ui.propertyPages">
<page
id="my.id"
name="Page Name"
class="package.MyPropertyPage">
<enabledWhen>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
</enabledWhen>
</page>
</extension>
其中定义了选择文件时显示的属性页。
which defines a property page which is show when a file is selected.
这篇关于我可以在RCP应用程序中创建的项目中添加自定义的属性页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文