001package jmri.jmrit.operations.setup;
002
003import javax.swing.JMenu;
004import javax.swing.JMenuBar;
005import jmri.jmrit.operations.OperationsFrame;
006
007/**
008 * Frame for user edit of manifest and switch list print options
009 *
010 * @author Dan Boudreau Copyright (C) 2008, 2010, 2011, 2012, 2013
011 */
012public class PrintOptionFrame extends OperationsFrame {
013
014    public PrintOptionFrame() {
015        super(Bundle.getMessage("TitlePrintOptions"), new PrintOptionPanel());
016    }
017
018    @Override
019    public void initComponents() {
020        super.initComponents();
021
022        // build menu
023        JMenuBar menuBar = new JMenuBar();
024        JMenu toolMenu = new JMenu(Bundle.getMessage("MenuTools"));
025        toolMenu.add(new PrintMoreOptionAction());
026        toolMenu.add(new EditManifestHeaderTextAction());
027        toolMenu.add(new EditManifestTextAction());
028        toolMenu.add(new EditSwitchListTextAction());
029        menuBar.add(toolMenu);
030        setJMenuBar(menuBar);
031        addHelpMenu("package.jmri.jmrit.operations.Operations_PrintOptions", true); // NOI18N
032
033        initMinimumSize();
034    }
035
036    //private static final Logger log = LoggerFactory.getLogger(PrintOptionFrame.class);
037}