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