org.topbraidcomposer.ui.util
Class PullDownMenu
java.lang.Object
org.topbraidcomposer.ui.util.PullDownMenu
public abstract class PullDownMenu
- extends java.lang.Object
A utility that adds a downward pointing arrow to the end of a ToolBar,
and on mouse down displays a popup menu below it.
- Author:
- Holger Knublauch
|
Constructor Summary |
PullDownMenu(org.eclipse.swt.widgets.Composite parent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WIDTH
public static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
public static final int HEIGHT
- See Also:
- Constant Field Values
PullDownMenu
public PullDownMenu(org.eclipse.swt.widgets.Composite parent)
addMenuItems
protected abstract void addMenuItems(org.eclipse.jface.action.IMenuManager menuManager)
dispose
public void dispose()
getControl
public org.eclipse.swt.widgets.Control getControl()
getImage
protected org.eclipse.swt.graphics.Image getImage()
handleMenuHidden
protected void handleMenuHidden()
isEnabled
protected boolean isEnabled()
openContextMenu
protected void openContextMenu()