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);
}
Aggregations