Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 158692

Summary: alt+click fails in Project Explorer view on Eclipse 3.3M2
Product: z_Archived Reporter: Mik Kersten <mik.kersten>
Component: MylynAssignee: Mik Kersten <mik.kersten>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: asampaleanu
Version: unspecified   
Target Milestone: 0.8   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylar/context/zip none

Description Mik Kersten CLA 2006-09-25 23:47:07 EDT
Seems that there is a problem with the current selection not being set.
Comment 1 Adrian Sampaleanu CLA 2006-10-25 10:35:18 EDT
This also fails on Eclipse 3.2.1 in the Project Explorer, but does work in the Package Explorer.
Comment 2 Mik Kersten CLA 2006-12-01 14:32:56 EST
Fixed.  Problem had to do with the following change to CommonViewer.

	/**
	 * Returns the current selection.
	 * <p>
	 * Note that as of 3.2.1 and 3.3, the common viewer caches its selection.
	 * Clients must not set the selection of the viewer's tree control directly.
	 * </p>
	 * 
	 * @see org.eclipse.jface.viewers.AbstractTreeViewer#getSelection()
	 */
	public ISelection getSelection() {
Comment 3 Mik Kersten CLA 2006-12-01 14:32:59 EST
Created attachment 54918 [details]
mylar/context/zip