Search in sources :

Example 21 with BundlePreferenceStore

use of org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore in project dbeaver by serge-rider.

the class ModelPreferences method setMainBundle.

public static void setMainBundle(Bundle mainBundle) {
    ModelPreferences.mainBundle = mainBundle;
    ModelPreferences.preferences = new BundlePreferenceStore(mainBundle);
    initializeDefaultPreferences(ModelPreferences.preferences);
}
Also used : BundlePreferenceStore(org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore)

Aggregations

BundlePreferenceStore (org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore)21 DBPPreferenceStore (org.jkiss.dbeaver.model.preferences.DBPPreferenceStore)6 MissingResourceException (java.util.MissingResourceException)5 Bundle (org.osgi.framework.Bundle)3 ResourceBundle (java.util.ResourceBundle)2