Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] ContextMenu actions not initialized

Hi,

I am trying to create a dynamic menu in eclipse in a custom view. I
used this example code:

https://bugs.eclipse.org/bugs/attachment.cgi?id=8223

This works fine for all objectcontribution actions that are defined in
the same plugin as the view. Then the action objects are constructed
when the menu is shown, and I can do setMenuCreator(this). But if I
define a dynamic objectContribution in another plugin, the are shown
in the menu, but the objects are only initialized just before being
run. Anyone knows how to change this.

Regards,
Leen Toelen


Back to the top