Project: Eclipse_Platform_UI
Bug 174633 [Contributions] objectContributions replacement needs selection provider
Reported: 2007-02-19 10:14:17 | Status: verified fixed

Currently, objectContributions are called with an ISelection before running, and that is from the ISelectionProvider the menu was registered with, not the global ISelectionProvider. PW

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/ISources.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/handlers/HandlerUtil.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PopupMenuExtender.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/MenuSourceProvider.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/SourcePriorityNameMapping.java