001package jmri.jmrix.ieee802154.xbee.swing;
002
003import java.util.HashSet;
004import java.util.List;
005import java.util.Set;
006import jmri.SystemConnectionMemo;
007import jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo;
008import jmri.jmrix.swing.AbstractSystemConnectionAction;
009
010/**
011 *
012 * @author Randall Wood Copyright 2020
013 */
014public abstract class XBeeSystemConnectionAction extends AbstractSystemConnectionAction<XBeeConnectionMemo> {
015
016    public XBeeSystemConnectionAction(String name, XBeeConnectionMemo memo) {
017        super(name, memo);
018    }
019
020    @Override
021    public Set<Class<? extends SystemConnectionMemo>> getSystemConnectionMemoClasses() {
022        return new HashSet<>(List.of(XBeeConnectionMemo.class));
023    }
024    
025}