001package jmri.jmrix.lenz.swing.lz100; 002 003import java.awt.event.ActionEvent; 004import jmri.jmrix.lenz.swing.AbstractXPressNetAction; 005 006/** 007 * Swing action to create and register an LZ100Frame object. 008 * <p> 009 * The {@link LZ100Frame} is a configuration tool for the LZ100 command Station. 010 * 011 * @author Paul Bender Copyright (C) 2005 012 */ 013public class LZ100Action extends AbstractXPressNetAction { 014 015 public LZ100Action(String s, jmri.jmrix.lenz.XNetSystemConnectionMemo memo){ 016 super(s,memo); 017 } 018 019 public LZ100Action(jmri.jmrix.lenz.XNetSystemConnectionMemo memo) { 020 this(Bundle.getMessage("MenuItemLZ100ConfigurationManager"), memo); 021 } 022 023 @Override 024 public void actionPerformed(ActionEvent e) { 025 // create an LZ100Frame 026 LZ100Frame f = new LZ100Frame(Bundle.getMessage("MenuItemLZ100ConfigurationManager"), _memo); 027 f.setVisible(true); 028 } 029 030}