|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.geeboss.view.GeebossMenu
public class GeebossMenu
This is the Menu that is displayed on top of the Geeboss application
| Field Summary | |
|---|---|
static java.lang.String[] |
MENU_STRUCTURE
Toplevel menu structure used to set hotkeys |
static java.lang.String[][] |
SUB_MENU_STRCTURE
Sublevel menu structure that may be assigned with hotkeys |
| Constructor Summary | |
|---|---|
GeebossMenu(MainView geebossGui,
org.eclipse.swt.widgets.Display display,
org.eclipse.swt.widgets.Shell shell,
EventManager eventManager)
Create a new Geeboss Menu. |
|
| Method Summary | |
|---|---|
void |
disposeNewMenu()
Dispose Management for the "File -> New" Menu |
void |
initMnemonics()
Init the mnemonics |
void |
removeOneCharAccelerators()
This is a workaround for bug #915624. |
void |
setPatchTreeMenuEnabled(boolean enabled)
Set the Patch Tree Menuitem to checked or not |
void |
setQuickviewMenuEnabled(boolean enabled)
Set the Quickview Menuitem to checked or not |
void |
updateAccelerators()
Update the accelerators on the menuitems |
void |
updateI18N()
Update all controlls text with i18n |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] MENU_STRUCTURE
public static java.lang.String[][] SUB_MENU_STRCTURE
| Constructor Detail |
|---|
public GeebossMenu(MainView geebossGui,
org.eclipse.swt.widgets.Display display,
org.eclipse.swt.widgets.Shell shell,
EventManager eventManager)
geebossGui - Access some methods of the main controllerdisplay - The displayshell - The shelleventManager - The manager handling user interaction| Method Detail |
|---|
public void disposeNewMenu()
public void initMnemonics()
public void removeOneCharAccelerators()
public void setPatchTreeMenuEnabled(boolean enabled)
enabled - true sets item uncheckedpublic void setQuickviewMenuEnabled(boolean enabled)
enabled - true sets item uncheckedpublic void updateAccelerators()
public void updateI18N()
updateI18N in interface Translatable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||