public interface IMenuCreator
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes the menu returned by
getMenu. |
Menu |
getMenu(Control parent)
Returns the SWT menu, created as a pop up menu parented by the
given control.
|
Menu |
getMenu(Menu parent)
Returns an SWT menu created as a drop down menu parented by the
given menu.
|
void dispose()
getMenu. Does nothing
if there is no menu. This method will be executed only when the
parent of the menu is disposed.Menu getMenu(Control parent)
parent - the parent controlnull if the menu could not
be createdMenu getMenu(Menu parent)
parent - the parent menunull if the menu could not
be createdGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.