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 71748 Details for
Bug 193318
Implement ToolItem.setMenu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
JFace patch
jface patch.txt (text/plain), 1.58 KB, created by
Bogdan Gheorghe
on 2007-06-19 10:30:09 EDT
(
hide
)
Description:
JFace patch
Filename:
MIME Type:
Creator:
Bogdan Gheorghe
Created:
2007-06-19 10:30:09 EDT
Size:
1.58 KB
patch
obsolete
>Index: src/org/eclipse/jface/action/ActionContributionItem.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java,v >retrieving revision 1.79 >diff -u -r1.79 ActionContributionItem.java >--- src/org/eclipse/jface/action/ActionContributionItem.java 30 Apr 2007 15:33:52 -0000 1.79 >+++ src/org/eclipse/jface/action/ActionContributionItem.java 15 Jun 2007 06:21:33 -0000 >@@ -25,8 +25,6 @@ > import org.eclipse.jface.util.PropertyChangeEvent; > import org.eclipse.swt.SWT; > import org.eclipse.swt.graphics.GC; >-import org.eclipse.swt.graphics.Point; >-import org.eclipse.swt.graphics.Rectangle; > import org.eclipse.swt.widgets.Button; > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Display; >@@ -516,14 +514,15 @@ > // dummy.dispose(); > if (mc != null) { > Menu m = mc.getMenu(ti.getParent()); >+ ti.setDropDownMenu(m); > if (m != null) { > // position the menu below the drop down item >- Rectangle b = ti.getBounds(); >- Point p = ti.getParent().toDisplay( >- new Point(b.x, b.y + b.height)); >- m.setLocation(p.x, p.y); // waiting for SWT >+ // Rectangle b = ti.getBounds(); >+ // Point p = ti.getParent().toDisplay( >+ // new Point(b.x, b.y + b.height)); >+ // m.setLocation(p.x, p.y); // waiting for SWT > // 0.42 >- m.setVisible(true); >+ // m.setVisible(true); > return; // we don't fire the action > } > }
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 193318
:
71745
|
71746
|
71747
| 71748 |
71749
|
72862
|
72863
|
72930
|
72931
|
90591
|
90592
|
91606
|
91607