简体   繁体   English

Eclipse:使用选项卡创建定制视图

[英]Eclipse : creating a custom view with tabs

I am trying to create a tabbed properties panel by following this example, 我正在尝试通过以下示例创建带标签的属性面板,

http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html

But the example code in here doesnt actually create the tabs mentioned in the article. 但是这里的示例代码实际上并未创建本文中提到的选项卡。 I think there is an issue with the example code. 我认为示例代码存在问题。

EDIT: Pardon me for the confusion. 编辑:原谅我的困惑。 I want to create a custom view that contains tabs. 我想创建一个包含选项卡的自定义视图。 This example changes the Properties view to show tabs. 本示例将“属性”视图更改为显示选项卡。 Can someone suggest some examples and sample code? 有人可以提出一些示例和示例代码吗?

That is the best example I've come across for Tabbed Properties. 这是我遇到的“选项卡式属性”的最佳示例。 If there is an issue, then you have to file a bug: http://bugs.eclipse.org/bugs/ 如果有问题,则必须提交一个错误: http : //bugs.eclipse.org/bugs/

I'm not sure about using the properties view stand-alone I'm afraid, but you might want to consider the multi-page editor instead. 恐怕我不确定使用独立的属性视图,但是您可能需要考虑使用多页编辑器 Here's a good tutorial . 这是一个很好的教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM