| [news.eclipse.platform] Re: Adding actions to context menu |
use enablement
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_basicext_popupMenus.htm
ravi wrote:
Hi,
I want to add a "New action" to the context menus, so i was using the extension
"org.eclipse.ui.popupMenus".
My "New Action" should appear only for the specific type of projects. Lets us say i want it only for c++ project/some other custom projects. How i have to do it.???
i am also using "objectclass(objectContribution) = org.eclipse.core.resources.IProject" so that i will get this "New Action" only for the project types on the context menu.
Any suggestions please.....
Thanks and Regards, Ravi.