001package jmri.jmrit.display.controlPanelEditor;
002
003import javax.swing.AbstractAction;
004import jmri.jmrit.display.EditorActionFactory;
005import org.openide.util.lookup.ServiceProvider;
006
007/**
008 *
009 * @author Randall Wood Copyright 2020
010 */
011@ServiceProvider(service = EditorActionFactory.class)
012public final class ControlPanelEditorActionFactory implements EditorActionFactory {
013
014    @Override
015    public AbstractAction createAction() {
016        return new ControlPanelEditorAction(getTitle());
017    }
018
019    @Override
020    public String getTitle() {
021        return Bundle.getMessage("ControlPanelEditor");
022    }
023
024}