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