package net.sf.jabref.journals;
import net.sf.jabref.Globals;
import net.sf.jabref.JabRefFrame;
import net.sf.jabref.MnemonicAwareAction;
import net.sf.jabref.Util;
import java.awt.event.ActionEvent;
/**
* Created by IntelliJ IDEA.
* User: alver
* Date: Sep 22, 2005
* Time: 10:45:02 PM
* To browseOld this template use File | Settings | File Templates.
*/
public class ManageJournalsAction extends MnemonicAwareAction {
JabRefFrame frame;
public ManageJournalsAction(JabRefFrame frame) {
super();
putValue(NAME, Globals.menuTitle("Manage journal abbreviations"));
this.frame = frame;
}
public void actionPerformed(ActionEvent actionEvent) {
ManageJournalsPanel panel = new ManageJournalsPanel(frame);
Util.placeDialog(panel.getDialog(), frame);
panel.setValues();
panel.getDialog().setVisible(true);
}
}