[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Menu Contribution for RCP

Hello,

I have developed an RCP with few menus.... and developed plug-in for that RCP which will contribute menu items for windows menus of the RCP (My Custom RCP), But i am not able to view this menu item in my RCP.....

Note: When i add my plug-in with eclipse i am able to see those menu items

I have add my both application code here...

"fillMenuBar method from ActionBarAdvisor class"
------------------------------------------------

protected void fillMenuBar(IMenuManager menuBar)
{
MenuManager windowMenu=new MenuManager ("&Window", IWorkbenchActionConstants.M_WINDOW);
menuBar.add (windowMenu);
windowMenu.add (new GroupMarker ("window.undo"));
windowMenu.add (new GroupMarker ("window.redo"));


//	This following line added later even i am not able to see the menuitem
	windowMenu.add (new Separator ("additions"));
}


And plug-in.xml of plug-in for menu contribution... -----------------------------------------------------

<extension point="org.eclipse.ui.actionSets">
	<actionSet
          id="msk.eclipse.ime.action.set.menu.window"
          label="%window_menu_actionSet.label"
          visible="true">
		<action
	              class="plugin.test.MYTestAction"
       	      id="ID.MYTestAction"
	              label="MY Test Action"
       	      menubarPath="window/additions"
	              style="push"/>
     </actionSet>
</extension>


Please help how to contribute the menu items for Custom developed plug-ins

Thanks
S.Prabhu