Accepted answer

using the standard swt renderers, the toolbar of a part will only be rendered if the part ist in a partstack. the reason for this is that it is the partstackrenderer that creates to toolbar and switches it if a different partis selected.

what you can do is put the part in a partstack and then put the partstack inside of the partsashcontainer.

if you want to render the toolbar of a part inside of a toolbar of your trimmedwindow, you would need to write your own renderer for trimmedwindow. here you can scan for embedded parts that need to show their toolbar and then react accordingly.

Related Query

More Query from same tag