001package apps; 002 003import apps.gui3.tabbedpreferences.TabbedPreferencesAction; 004import jmri.util.prefs.JmriPreferencesActionFactory; 005import jmri.util.swing.JmriAbstractAction; 006 007public class AppsPreferencesActionFactory extends JmriPreferencesActionFactory { 008 009 @Override 010 public JmriAbstractAction getDefaultAction() { 011 return new TabbedPreferencesAction(); 012 } 013 014 @Override 015 public JmriAbstractAction getNamedAction(String name) { 016 return new TabbedPreferencesAction(name); 017 } 018 019 @Override 020 public JmriAbstractAction getCategorizedAction(String name, String category) { 021 return new TabbedPreferencesAction(name, category); 022 } 023 024 @Override 025 public JmriAbstractAction getCategorizedAction(String name, String category, String subCategory) { 026 return new TabbedPreferencesAction(name, category, subCategory); 027 } 028 029}