Sunday, July 23, 2006

Non-deterministic plugin loading and menubar item ordering

I was wondering if anyone knew in Eclipse how they went about placing menus
in the top menu bar. For example, how do they position 'Edit' after
'File', and how does the WOP plugin menu get added in the
place it was added.

This is the current problem I'm wanting to refine in Centruflow - as
little tweaks throughout my system can result in menus moving all around.

Cheers,
Jonathan

1 comment:

Jens said...

In Eclipse, the container decides this for you. I am not aware that one can explicitly position a top level menu (without touching internal packages).

However, there is a similar situation for perspectives. Here, using the org.eclipse.ui.perspectiveExtensions extension point you can place UI elements relative to other elements (identified by ID). Perhaps there is something similar for menus.