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