001package jmri.configurexml;
002
003import javax.swing.JMenu;
004
005/**
006 * Create a "Save" menu item containing actions for storing various data
007 * (subsets).
008 *
009 * @author Bob Jacobsen Copyright 2005
010 */
011public class StoreMenu extends JMenu {
012
013    public StoreMenu(String name) {
014        this();
015        setText(name);
016    }
017
018    public StoreMenu() {
019
020        super();
021
022        setText(Bundle.getMessage("MenuItemStore"));  // NOI18N
023
024        add(new jmri.configurexml.StoreXmlUserAction(Bundle.getMessage("FileMenuItemStore")));  // NOI18N
025
026    }
027}