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 12813 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, apply to DefaultPartPresentation
patch_65441.txt (text/plain), 1.50 KB, created by
Hanna Farah
on 2004-06-24 17:47:35 EDT
(
hide
)
Description:
Fixes bug 65441, apply to DefaultPartPresentation
Filename:
MIME Type:
Creator:
Hanna Farah
Created:
2004-06-24 17:47:35 EDT
Size:
1.50 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 24 Jun 2004 21:41:35 -0000 >@@ -87,6 +87,7 @@ > private Listener dragListener; > private List activationList = new ArrayList(10); > private boolean activationListChange = true; >+ private boolean showItemMenu = true; > > /** > * While we are dragging a tab from this folder, this holdes index of the tab >@@ -124,10 +125,14 @@ > // Else, set focus. > CTabItem newItem = tabFolder.getItem(tabFolder.getControl().toControl(globalPos)); > if (newItem != null) { >+ showItemMenu = true; > CTabItem oldItem = tabFolder.getSelection(); > if (newItem != oldItem) > return; > } >+ else >+ showItemMenu = false; >+ > if (current != null) { > current.setFocus(); > } >@@ -148,9 +153,12 @@ > * @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); >+ if (showItemMenu == true) { >+ Point pos = new Point(event.x, event.y); >+ showSystemMenu(pos); >+ } >+ else >+ showItemMenu = true; > } > }; >
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