[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: retrieve MenuItem by ID
|
"Luciano Boschi" <boschi@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:d7k6t4$bm$1@xxxxxxxxxxxxxxxxxxx
> Hi everyone,
> I'm developing an Eclipse plugin.
> I need to enable/disable a menu item programmatically.
>
> The question is: how can I access the MenuItem object?
> for instance: from its IWorkbenchWindowActionDelegate.
>
> The only things I know are the MenuItem id and menubarPath (as specified
> in the plugin.xml file).
Has the menu been contributed by YOUR plugin? or another one?