简体   繁体   English

如何在swt / jface中删除向导容器标题栏

[英]How to remove wizard container title bar in swt/jface

I have created a wizard in swt/jface. 我已经在swt / jface中创建了一个向导。 and i would like to remove the wizard container bar. 而且我想删除向导容器栏。 I checked the documentation of the wizard page but couldn't find anything. 我检查了向导页面的文档,但找不到任何东西。 Is their is a way to do this.Here a pic to explain better 是他们这样做的一种方式。这里有一张图片可以更好地解释

在此处输入图片说明

So i need to remove this red rectangaled part 所以我需要删除这个红色的矩形部分

The first thing I'd try would be to try returning null from the methods that populate that area of the wizard UI. 我要尝试的第一件事是尝试从填充向导UI区域的方法中返回null。

If that doesn't work, you can always look into the Eclipse implementation of Wizard and WizardPage to see what draws that area and implement your own version that draws what you want - IWizard and IWizardPage are just interfaces after all. 如果那行不通,您总是可以查看Eclipse的WizardWizardPage实现,以了解是什么绘制了该区域,并实现了自己的版本来绘制所需的内容IWizardIWizardPage只是接口。 I've done something similar (though this was a few years ago) for implementing a much more customized wizard that ended up containing a GEF editor inside it as well. 我做了类似的事情(尽管这是几年前的事),以实现一个更加自定义的向导,该向导最终也包含一个GEF编辑器。

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

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