Search in sources :

Example 16 with BundlePreferenceStore

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

the class DBeaverTestActivator method start.

@Override
public void start(BundleContext context) throws Exception {
    super.start(context);
    instance = this;
    Bundle bundle = getBundle();
    ModelPreferences.setMainBundle(bundle);
    preferences = new BundlePreferenceStore(bundle);
}
Also used : BundlePreferenceStore(org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore) Bundle(org.osgi.framework.Bundle)

Example 17 with BundlePreferenceStore

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

the class UIChartsActivator method start.

@Override
public void start(BundleContext context) throws Exception {
    super.start(context);
    plugin = this;
    preferences = new BundlePreferenceStore(getBundle());
}
Also used : BundlePreferenceStore(org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore)

Example 18 with BundlePreferenceStore

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

the class UIDashboardActivator method start.

@Override
public void start(BundleContext context) throws Exception {
    super.start(context);
    plugin = this;
    preferences = new BundlePreferenceStore(getBundle());
    DashboardUpdateJob.startUpdating();
}
Also used : BundlePreferenceStore(org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore)

Example 19 with BundlePreferenceStore

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

the class DataEditorsActivator method start.

@Override
public void start(BundleContext context) throws Exception {
    super.start(context);
    plugin = this;
    preferences = new BundlePreferenceStore(getBundle());
}
Also used : BundlePreferenceStore(org.jkiss.dbeaver.model.impl.preferences.BundlePreferenceStore)

Example 20 with BundlePreferenceStore

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

the class UINavigatorActivator method start.

@Override
public void start(BundleContext context) throws Exception {
    super.start(context);
    plugin = this;
    preferences = new BundlePreferenceStore(getBundle());
}
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