eclipse plugin - Toolbar disappears when hiding the perspective bar -
in application don't want show perspective bar in prewindowopen()
method set configurer.setshowperspectivebar(false);
whole toolbar disappears too. set configurer.setshowcoolbar(true);
and toolbar:
<menucontribution locationuri="toolbar:org.eclipse.ui.trim.command2"> <toolbar ... </toolbar>
i don't know why happen leave question here.
the main toolbar org.eclipse.ui.main.toolbar
must use id in locationuri
.
Comments
Post a Comment