eu.esdihumboldt.hale.ui.views.styledmap
Class GTKAWTBridgePopupFix
java.lang.Object
eu.esdihumboldt.hale.ui.views.styledmap.GTKAWTBridgePopupFix
public class GTKAWTBridgePopupFix
- extends Object
Helper class providing a work-around for Eclipse Bug 233450 (
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=233450") where with
GTK as windowing system it is not possible to show a SWT menu on top of a
AWT/Swing component.
Implementation based on
"http://www.eclipsezone.com/eclipse/forums/t95687.html"
- Author:
- Simon Templer
Method Summary |
static void |
showMenu(org.eclipse.swt.widgets.Menu menu)
Show the given SWT menu. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GTKAWTBridgePopupFix
public GTKAWTBridgePopupFix()
showMenu
public static void showMenu(org.eclipse.swt.widgets.Menu menu)
- Show the given SWT menu. Must be called from the display thread.
- Parameters:
menu
- the menu to show
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d