[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: using commands/handlers in Common Navigator Framework

Unfortunately, the CNF still lives in action land, so you are not missing anything. At some point we will get around to having it use the new command stuff. I feel your pain (I have similar concerns in my RCP application), but for 3.4 at least that's the way it is.

Francis

Chris wrote:
I've been working on integrating the Common Navigator Framework into a fairly large-scale RCP app. I've been very pleased with the results for the most part, but have been somewhat discouraged by the lack of documentation on how I can use the platform command framework in conjunction with CNF.

The rest of my app uses commands/handlers, but from what I can tell I can only use actions with CNF. So for example, to contribute menu items to the CNF context menu, I would have to use deprecated org.eclipse.ui.popupMenus and objectContribution extension points in my other plugins (as opposed to using org.eclipse.ui.menus).

I'm not big on the idea of having an app with mixed actions and commands. Seems to make sense to use one or the other. What is the "correct" way of doing this, if there is one? Have I missed any documentation out there?

Thanks,
Chris



--
*new* Common Navigator Framework section in:
   3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head. You have feet in your shoes. - Dr Seuss, Oh the Places You'll Go