[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] popup menu in eclipse plugin

I am writing an eclipse plug-in, and I want to create a menu item in the right-click context menu opened when clicking in a certain object (i.e. a file). I tried using the wizard in the "Extensions" tab, and it creates an org.eclipse.ui.popupMenus extension, along with a objectContribution, a menu and an action. I suppose the objectContribution represents the type of objects that, when right-clicked, will display the menu item just created. The type used by the wizard is file (org.eclipse.core.resources.IFile), so I presume that, when testing the plugin, if I right-click a file, I will see my menu item there... which doesn't happen. What should I do??