org.argouml.ui.cmd
Class InitMenusLater
java.lang.Object
org.argouml.ui.cmd.InitMenusLater
- All Implemented Interfaces:
- Runnable
- class InitMenusLater
- extends Object
- implements Runnable
Thread to initialize the submenus of the main menu of argouml (only
third level, so the ones with the triangle on windows systems).
Menu's and the mnemonics of menu's and the menuitems are separated
in the PropertyResourceBundle menu.properties.
menuitems are separated in the PropertyResourceBundle
action.properties.
The key's in menu.properties have the following structure:
menu: [file].[name of menu]
e.g: menu.file
mnemonics of menu's: [file].[name of menu].mnemonic
e.g: menu.file.mnemonic
mnemonics of menuitems: [file].[flag for item].[name of menuitem].mnemonic
e.g: menu.item.new.mnemonic
Method Summary |
void |
run()
The submenus of argouml are created on startup in a seperate thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
align
private JMenu align
distribute
private JMenu distribute
reorder
private JMenu reorder
nudge
private JMenu nudge
InitMenusLater
public InitMenusLater(JMenu a,
JMenu d,
JMenu r,
JMenu n)
- Constructs this new runnable to initialize the submenus.
- Parameters:
a
- the alignment submenud
- the distribution submenur
- the reorder submenun
- the nudge submenu
run
public void run()
- The submenus of argouml are created on startup in a seperate thread.
- Specified by:
run
in interface Runnable
- See Also:
Runnable.run()