Bug 3174

Summary: Open-on-selection doesn't work on MouseAdapter (1GF69TH)
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2001-10-10 22:50:44 EDT
I was entering the following code:

import org.eclipse.swt.SWT;
import org.eclipse.swt.events.*;
import org.eclipse.swt.widgets.*;

public class GameBoard {
	public void createControl(Composite parent) {
		Canvas canvas = new Canvas(parent, SWT.NONE);
		canvas.addMouseListener(new MouseAdapter() {
		});
	}
}

JW (6/11/01 4:11:27 PM) Dup of 1GDQD37: ITPJUI:WIN2000 - Open on selection failure

I tried to do F3 with MouseAdapter selected.
It beeped at me.  Worked OK on other types in the method.
Code-assist worked OK in helping me enter MouseAdapter, so it can resolve it.
Worked OK on MouseListener, which is in the same package.

SWT is in a prerequisite project in source form.

NOTES:

PM (6/12/2001 10:09:19 AM)
	Should defer
Comment 1 Philipe Mulet CLA 2001-10-16 07:29:21 EDT
Cannot reproduce anymore in 204. Works fine now.
Closing
Comment 2 DJ Houghton CLA 2001-10-23 23:50:34 EDT
PRODUCT VERSION:
122 JDK