001package jmri.util.startup; 002 003import org.openide.util.lookup.ServiceProvider; 004 005/** 006 * 007 * @author Randall Wood 2016 008 */ 009@ServiceProvider(service = StartupModelFactory.class) 010public class PerformActionModelFactory extends AbstractActionModelFactory { 011 012 public PerformActionModelFactory() { 013 } 014 015 @Override 016 public Class<? extends StartupModel> getModelClass() { 017 return PerformActionModel.class; 018 } 019 020 @Override 021 public PerformActionModel newModel() { 022 return new PerformActionModel(); 023 } 024 025 @Override 026 public String getEditModelMessage() { 027 return Bundle.getMessage("PerformActionModelFactory.editModel.message"); 028 } 029}