Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 258511 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java (-2 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2006 IBM Corporation and others.
2
 * Copyright (c) 2004, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 342-348 Link Here
342
    }
342
    }
343
    
343
    
344
    protected void handleMouseDown(Point displayPos, MouseEvent e) {
344
    protected void handleMouseDown(Point displayPos, MouseEvent e) {
345
        fireEvent(TabFolderEvent.EVENT_GIVE_FOCUS_TO_PART);
345
    	if (e.button == 1) {
346
            fireEvent(TabFolderEvent.EVENT_GIVE_FOCUS_TO_PART);	
347
    	}
346
    }
348
    }
347
349
348
    protected void handleDoubleClick(Point displayPos, MouseEvent e) {
350
    protected void handleDoubleClick(Point displayPos, MouseEvent e) {
(-)Eclipse UI/org/eclipse/ui/internal/presentations/util/TabbedStackPresentation.java (-1 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 IBM Corporation and others.
2
 * Copyright (c) 2005, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 142-147 Link Here
142
                    }
142
                    }
143
                    
143
                    
144
                    if (part != null) {
144
                    if (part != null) {
145
                    	part.setFocus();
145
                        showSystemMenu(new Point(e.x, e.y), part);
146
                        showSystemMenu(new Point(e.x, e.y), part);
146
                    }
147
                    }
147
             	    break;
148
             	    break;

Return to bug 258511