001package jmri.jmrit.display.layoutEditor; 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 LayoutEditorActionFactory implements EditorActionFactory { 013 014 @Override 015 public AbstractAction createAction() { 016 return new LayoutEditorAction(getTitle()); 017 } 018 019 @Override 020 public String getTitle() { 021 return Bundle.getMessage("LayoutEditor"); 022 } 023 024}