参考链接:
http://blog.sina.com.cn/s/blog_8f22140801016ndd.html
https://blog.youkuaiyun.com/cruise_h/article/details/27668679
http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html
实现效果如下图
首先,需要理解属性自定义的机制,即需要实现以下三个扩展点
org.eclipse.ui.views.properties.tabbed.propertyContributor
org.eclipse.ui.views.properties.tabbed.propertyTabs
org.eclipse.ui.views.properties.tabbed.propertySections
可以这么简单理解propertyContributor定义属性窗口、propertyTabs定义包含多少个属性栏及它们之间的顺序、propertySections实现每个具体的属性,并将每个Section划分给对应的Tab。
下面给出三个扩展点的详细配置
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
contributorId="nwpu.edu.gnc.