|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraidcomposer.ui.util.MenuUtil
public class MenuUtil
| Constructor Summary | |
|---|---|
MenuUtil()
|
|
| Method Summary | |
|---|---|
static void |
addMenu(org.eclipse.swt.widgets.Control parent,
org.eclipse.jface.action.MenuManager menuManager)
A workaround to a bug in Eclipse SWT: If we used Control.setMenu() to declare a menu, and then any of the children of the Control are disposed, they also dispose the menu, even though others still use it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenuUtil()
| Method Detail |
|---|
public static void addMenu(org.eclipse.swt.widgets.Control parent,
org.eclipse.jface.action.MenuManager menuManager)
parent - menuManager -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||