org.argouml.ui.menubar
Class InitMenusLater

java.lang.Object
  |
  +--org.argouml.ui.menubar.InitMenusLater
All Implemented Interfaces:
java.lang.Runnable

class InitMenusLater
extends java.lang.Object
implements java.lang.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
(package private)  javax.swing.JMenu align
           
(package private)  javax.swing.JMenu detailsTabs
           
(package private)  javax.swing.JMenu distribute
           
(package private)  javax.swing.JMenu layout
           
(package private)  javax.swing.JMenu nudge
           
(package private)  javax.swing.JMenu reorder
           
(package private)  javax.swing.JMenu setPreferredSize
           
 
Constructor Summary
InitMenusLater(javax.swing.JMenu align, javax.swing.JMenu distribute, javax.swing.JMenu reorder, javax.swing.JMenu nudge, javax.swing.JMenu layout)
          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

javax.swing.JMenu align

distribute

javax.swing.JMenu distribute

reorder

javax.swing.JMenu reorder

nudge

javax.swing.JMenu nudge

setPreferredSize

javax.swing.JMenu setPreferredSize

layout

javax.swing.JMenu layout

detailsTabs

javax.swing.JMenu detailsTabs
Constructor Detail

InitMenusLater

public InitMenusLater(javax.swing.JMenu align,
                      javax.swing.JMenu distribute,
                      javax.swing.JMenu reorder,
                      javax.swing.JMenu nudge,
                      javax.swing.JMenu layout)
Constructs this new runnable to initialize the submenus.

Parameters:
align - the alignment submenu
distribute - the distribution submenu
reorder - the reorder submenu
nudge - the nudge submenu
layout - the layout submenu
Method Detail

run

public void run()
The submenus of argouml are created on startup in a seperate thread.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()


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