[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Main MenuBar custom menu and toggle actions.

Hi there,

I'd like to create a new menu in the MenuBar of my workbench, with toggled commands such as the Project/Build Automatically from ui.ide.
I am able to declare such a command using the eclipse 3.3 extension points menus and commands, but I don't quite understand how to refresh the toggle status at startup.
I can successfully update its status using the ICommandService.refreshElements(...) method, but that piece of code is always called too late because of the lazy loading of such commands.
I wouldn't have to use the IStartup implementation (early startup extension) for such a purpose.


What am I missing here ?

Thanks in advance,
Guillaume.