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