Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 125958 Details for
Bug 258511
[EditorMgmt] Middle click to close tab switches editor before close
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Activate part only on first mouse click patch v2
bug258511-patch-v2.txt (text/plain), 2.60 KB, created by
Remy Suen
on 2009-02-17 17:58:50 EST
(
hide
)
Description:
Activate part only on first mouse click patch v2
Filename:
MIME Type:
Creator:
Remy Suen
Created:
2009-02-17 17:58:50 EST
Size:
2.60 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java,v >retrieving revision 1.13 >diff -u -r1.13 AbstractTabFolder.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java 16 Jan 2009 19:27:58 -0000 1.13 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java 17 Feb 2009 22:51:12 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2004, 2006 IBM Corporation and others. >+ * Copyright (c) 2004, 2009 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -342,7 +342,9 @@ > } > > protected void handleMouseDown(Point displayPos, MouseEvent e) { >- fireEvent(TabFolderEvent.EVENT_GIVE_FOCUS_TO_PART); >+ if (e.button == 1) { >+ fireEvent(TabFolderEvent.EVENT_GIVE_FOCUS_TO_PART); >+ } > } > > protected void handleDoubleClick(Point displayPos, MouseEvent e) { >Index: Eclipse UI/org/eclipse/ui/internal/presentations/util/TabbedStackPresentation.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/util/TabbedStackPresentation.java,v >retrieving revision 1.20 >diff -u -r1.20 TabbedStackPresentation.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/util/TabbedStackPresentation.java 22 Nov 2007 17:38:13 -0000 1.20 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/util/TabbedStackPresentation.java 17 Feb 2009 22:51:12 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2005, 2007 IBM Corporation and others. >+ * Copyright (c) 2005, 2009 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -142,6 +142,7 @@ > } > > if (part != null) { >+ part.setFocus(); > showSystemMenu(new Point(e.x, e.y), part); > } > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258511
:
124900
| 125958