public void contributeToMenu(IMenuManager manager) { IMenuManager menu = new MenuManager("Editor &Menu"); manager.prependToGroup(IWorkbenchActionConstants.MB_ADDITIONS, menu); menu.add(sampleAction); }
public void contributeToMenu(IMenuManager _manager) {    }
	public void contributeToMenu(IMenuManager manager) {		IMenuManager menu = new MenuManager("Editor &Menu");		manager.prependToGroup(IWorkbenchActionConstants.MB_ADDITIONS, menu);		menu.add(sampleAction);	}