[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: SelectionProvider is not set in the WindowSelectionService

"selection" is the global eclipse selection, usually based on the active part.

activeMenuSelection is the selection that is available during a context (popup) menu. It is not necessarily the same as the "selection" variable, since it comes from the selection provider set in getSite().registerContextMenu(*)

PW


-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm