super(HMIMessages.getString(HMIMessages.MENU_SAVE), Icons.getIcon("bossanova.save"));
putValue(Action.SHORT_DESCRIPTION, "Save the current batch");
}
public void actionPerformed(ActionEvent e) {
MainScreen mainScreen = BossaNovaReferentComponent.getSingleton().getApplication().getMainScreen();
try {
if (BatchManager.getCurrentBatchFile() != null) {
BatchManager.saveBatch();
} else {
String defaultPath = BossanovaUserPref.getPref(BossanovaUserPref.BATCH_DIRECTORY, System.getProperty("user.home"));