001package jmri.jmrix.srcp.swing;
002
003import java.util.Arrays;
004import java.util.HashSet;
005import java.util.Set;
006import jmri.SystemConnectionMemo;
007import jmri.jmrix.srcp.SRCPSystemConnectionMemo;
008import jmri.jmrix.swing.AbstractSystemConnectionAction;
009
010/**
011 *
012 * @author Randall Wood Copyright 2020
013 */
014public abstract class SRCPSystemConnectionAction extends AbstractSystemConnectionAction<SRCPSystemConnectionMemo> {
015
016    public SRCPSystemConnectionAction(String name, SRCPSystemConnectionMemo 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(SRCPSystemConnectionMemo.class));
026    }
027    
028}