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