在 pde 中隐藏选项卡
我有一个编辑器(emf 编辑器)。我只想要编辑器中的一个选项卡。 如果我不添加其他页面,我仍然会在选项卡选择中看到一个选项卡。我可以隐藏该选项卡,这样用户就看不到它是多页编辑器吗?
I have an editor (emf editor). And I only want one of the tabs in the editor.
If I do not add the other pages, I still see one tab in the tab selection. Can I hide the tab, so the user will not see it is a multipageeditor?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的...找到了:
Ok... found it:
不,
MultiPageEditorPart
用于多个页面,因此如果您想要一页,只需使用EditorPart
即可。我不确定你想做什么?你说你有“一个 EMF 编辑器”。这是您自己设计的编辑器还是您试图覆盖某些内容?
No, a
MultiPageEditorPart
is used for more than one page, so if you want one page just simply use andEditorPart
.I'm not sure what you are trying to do? You say you have 'an EMF editor'. Is this an editor of your own devising or are you trying to override something?