|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for something that creates and disposes of SWT menus. Note that it is the responsibility of the implementor to dispose of SWT menus it creates.
Method Summary | |
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. |
Method Detail |
public void dispose()
getMenu
. Does nothing
if there is no menu. This method will be executed only when the
parent of the menu is disposed.public Menu getMenu(Control parent)
parent
- the parent controlnull
if the menu could not
be createdpublic Menu getMenu(Menu parent)
parent
- the parent menunull
if the menu could not
be created
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |