public OpenWorkspaceAction(SimbrainDesktop desktop){
  super("Open Workspace File (.zip) ...",desktop);
  putValue(SMALL_ICON,ResourceManager.getImageIcon("Open.png"));
  putValue(SHORT_DESCRIPTION,"Open workspace (.zip)");
  Toolkit toolkit=Toolkit.getDefaultToolkit();
  KeyStroke keyStroke=KeyStroke.getKeyStroke(KeyEvent.VK_O,toolkit.getMenuShortcutKeyMask());
  putValue(ACCELERATOR_KEY,keyStroke);
}

public OpenWorkspaceAction ( SimbrainDesktop desktop ) { super ( "Open Workspace File (.zip) ..." , desktop ) ; putValue ( SMALL_ICON , ResourceManager . getImageIcon ( "Open.png" ) ) ; putValue ( SHORT_DESCRIPTION , "Open workspace (.zip)" ) ; Toolkit toolkit = Toolkit . getDefaultToolkit ( ) ; KeyStroke keyStroke = KeyStroke . getKeyStroke ( KeyEvent . VK_O , toolkit . getMenuShortcutKeyMask ( ) ) ; putValue ( ACCELERATOR_KEY , keyStroke ) ; }
create an open workspace action with the specified workspace .
