org.argouml.ui.cmd
Class InitMenusLater

java.lang.Object
  extended byorg.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


Field Summary
private  JMenu align
           
private  JMenu distribute
           
private  JMenu nudge
           
private  JMenu reorder
           
 
Constructor Summary
InitMenusLater(JMenu a, JMenu d, JMenu r, JMenu n)
          Constructs this new runnable to initialize the submenus.
 
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
 

Field Detail

align

private JMenu align

distribute

private JMenu distribute

reorder

private JMenu reorder

nudge

private JMenu nudge
Constructor Detail

InitMenusLater

public InitMenusLater(JMenu a,
                      JMenu d,
                      JMenu r,
                      JMenu n)
Constructs this new runnable to initialize the submenus.

Parameters:
a - the alignment submenu
d - the distribution submenu
r - the reorder submenu
n - the nudge submenu
Method Detail

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()


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook