001package jmri.jmrix.can.cbus.swing.modules.merg; 002 003import javax.annotation.Nonnull; 004 005import jmri.jmrix.can.cbus.node.CbusNode; 006import jmri.jmrix.can.cbus.node.CbusNodeNVTableDataModel; 007import jmri.jmrix.can.cbus.swing.modules.*; 008import jmri.jmrix.can.cbus.swing.modules.base.Servo8BasePaneProvider; 009 010import org.openide.util.lookup.ServiceProvider; 011 012/** 013 * Returns configuration objects for a MERG CANMIO-SVO 014 * 015 * @author Andrew Crosland Copyright (C) 2021 016 */ 017@ServiceProvider(service = CbusConfigPaneProvider.class) 018public class CanmiosvoPaneProvider extends Servo8BasePaneProvider { 019 020 String type = "CANMIO_SVO"; 021 022 public CanmiosvoPaneProvider() { 023 super(); 024 } 025 026 /** {@inheritDoc} */ 027 @Override 028 @Nonnull 029 public String getModuleType() { 030 return type; 031 } 032 033 /** {@inheritDoc} */ 034 @Override 035 public AbstractEditNVPane getEditNVFrame(CbusNodeNVTableDataModel dataModel, CbusNode node) { 036 _nVarEditFrame = new CanmiosvoEditNVPane(dataModel, node); 037 return _nVarEditFrame.getContent(); 038 } 039}