Eclipse plugin 隐藏透视栏时工具栏将消失

Eclipse plugin 隐藏透视栏时工具栏将消失,eclipse-plugin,perspective,eclipse-rap,Eclipse Plugin,Perspective,Eclipse Rap,在我的应用程序中,我不想显示透视栏,因此在preWindowOpen()方法中设置configurer.setShowPerspectiveBar(false)但是整个工具栏也消失了。我还设置了configurer.setShowCoolBar(true) 这是我的工具栏: 主工具栏是org.eclipse.ui.main.toolbar,因此您必须在locationURI中使用该id,这与我将locationURI更改为org.eclipse.ui.main.toolbar时相同。谢谢你的回

在我的应用程序中,我不想显示透视栏,因此在
preWindowOpen()
方法中设置
configurer.setShowPerspectiveBar(false)但是整个工具栏也消失了。我还设置了
configurer.setShowCoolBar(true)

这是我的工具栏:



主工具栏是
org.eclipse.ui.main.toolbar
,因此您必须在
locationURI

中使用该id,这与我将
locationURI
更改为
org.eclipse.ui.main.toolbar
时相同。谢谢你的回答。