public QuitWorkspaceAction(SimbrainDesktop desktop){
  super("Quit",desktop);
  Toolkit toolkit=Toolkit.getDefaultToolkit();
  KeyStroke keyStroke=KeyStroke.getKeyStroke(KeyEvent.VK_Q,toolkit.getMenuShortcutKeyMask());
  putValue(ACCELERATOR_KEY,keyStroke);
}

public QuitWorkspaceAction ( SimbrainDesktop desktop ) { super ( "Quit" , desktop ) ; Toolkit toolkit = Toolkit . getDefaultToolkit ( ) ; KeyStroke keyStroke = KeyStroke . getKeyStroke ( KeyEvent . VK_Q , toolkit . getMenuShortcutKeyMask ( ) ) ; putValue ( ACCELERATOR_KEY , keyStroke ) ; }
create a clear workspace action with the specified workspace .
