Coverage Report - net.sf.jabref.journals.ManageJournalsAction
 
Classes in this File Line Coverage Branch Coverage Complexity
ManageJournalsAction
100%
9/9
N/A
1
 
 1  
 package net.sf.jabref.journals;
 2  
 
 3  
 import net.sf.jabref.Globals;
 4  
 import net.sf.jabref.JabRefFrame;
 5  
 import net.sf.jabref.MnemonicAwareAction;
 6  
 import net.sf.jabref.Util;
 7  
 
 8  
 import java.awt.event.ActionEvent;
 9  
 
 10  
 /**
 11  
  * Created by IntelliJ IDEA.
 12  
  * User: alver
 13  
  * Date: Sep 22, 2005
 14  
  * Time: 10:45:02 PM
 15  
  * To browseOld this template use File | Settings | File Templates.
 16  
  */
 17  
 public class ManageJournalsAction extends MnemonicAwareAction {
 18  
 
 19  
     JabRefFrame frame;
 20  
 
 21  
     public ManageJournalsAction(JabRefFrame frame) {
 22  635707490515
         super();
 23  635707490515
         putValue(NAME, Globals.menuTitle("Manage journal abbreviations"));
 24  635707490515
         this.frame = frame;
 25  635707490515
     }
 26  
     public void actionPerformed(ActionEvent actionEvent) {
 27  1737983719
         ManageJournalsPanel panel = new ManageJournalsPanel(frame);
 28  1737982234
         Util.placeDialog(panel.getDialog(), frame);
 29  1737982234
         panel.setValues();
 30  1737982234
         panel.getDialog().setVisible(true);
 31  1737982234
     }
 32  
 }