Search in sources :

Example 1 with TabbedPreferences

use of apps.gui3.TabbedPreferences in project JMRI by JMRI.

the class AppsBase method installManagers.

protected void installManagers() {
    // Install a history manager
    InstanceManager.store(new FileHistory(), FileHistory.class);
    // record startup
    InstanceManager.getDefault(FileHistory.class).addOperation("app", Application.getApplicationName(), null);
    // Install a user preferences manager
    InstanceManager.store(JmriUserPreferencesManager.getDefault(), UserPreferencesManager.class);
    // install the abstract action model that allows items to be added to the, both 
    // CreateButton and Perform Action Model use a common Abstract class
    InstanceManager.store(new CreateButtonModel(), CreateButtonModel.class);
    // install preference manager
    InstanceManager.store(new TabbedPreferences(), TabbedPreferences.class);
    // install the named bean handler
    InstanceManager.store(new NamedBeanHandleManager(), NamedBeanHandleManager.class);
    //Install Entry Exit Pairs Manager
    InstanceManager.store(new EntryExitPairs(), EntryExitPairs.class);
}
Also used : NamedBeanHandleManager(jmri.NamedBeanHandleManager) EntryExitPairs(jmri.jmrit.signalling.EntryExitPairs) FileHistory(jmri.jmrit.revhistory.FileHistory) TabbedPreferences(apps.gui3.TabbedPreferences)

Aggregations

TabbedPreferences (apps.gui3.TabbedPreferences)1 NamedBeanHandleManager (jmri.NamedBeanHandleManager)1 FileHistory (jmri.jmrit.revhistory.FileHistory)1 EntryExitPairs (jmri.jmrit.signalling.EntryExitPairs)1