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 12834 Details for
Bug 65441
[EditorMgmt] Right click on area on right of CTabFolder pops up menu for selected editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fixes bug 65441, alternative patch
patch_65441_altern.txt (text/plain), 1.36 KB, created by
Hanna Farah
on 2004-06-25 13:10:46 EDT
(
hide
)
Description:
Fixes bug 65441, alternative patch
Filename:
MIME Type:
Creator:
Hanna Farah
Created:
2004-06-25 13:10:46 EDT
Size:
1.36 KB
patch
obsolete
>Index: DefaultPartPresentation.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java,v >retrieving revision 1.26 >diff -u -r1.26 DefaultPartPresentation.java >--- DefaultPartPresentation.java 18 Jun 2004 20:49:44 -0000 1.26 >+++ DefaultPartPresentation.java 25 Jun 2004 17:02:50 -0000 >@@ -93,7 +93,7 @@ > * being dragged. Set to -1 if we are not currently dragging a tab from this folder. > */ > private int dragStart = -1; >- >+ > private final static String TAB_DATA = DefaultPartPresentation.class.getName() + ".partId"; //$NON-NLS-1$ > > private PaneFolderButtonListener buttonListener = new PaneFolderButtonListener() { >@@ -128,6 +128,7 @@ > if (newItem != oldItem) > return; > } >+ > if (current != null) { > current.setFocus(); > } >@@ -148,9 +149,10 @@ > * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event) > */ > public void handleEvent(Event event) { >- Point pos = new Point(event.x, event.y); >- >- showSystemMenu(pos); >+ Point globalPos = new Point(event.x, event.y); >+ CTabItem clickedItem = tabFolder.getItem(tabFolder.getControl().toControl(globalPos)); >+ if (clickedItem != null) >+ showSystemMenu(globalPos); > } > }; >
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 65441
:
12813
| 12834