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