[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: IContributionItems Access details

Well I did this a different way but now this leads me into another question.

I have an CommandContributionItem. When I look at it in the debugger view and click on the command (paramaterizedCommand) it shows the name as my menu items name. This is great because I want the name.

However the CommandContributionItem doesn't have a get command or get name method. SO I use the command service to get the command which has the get name.

Anyway it gets the command fine (IDs match). However the command doesn't have the name anymore.

So what am I doing wrong or how do I get the text/name that represents the label of the menu?

Steve

PS I'll also eventually need the tooltip. So that insight would be helpful as well.