1
|
package eu.etaxonomy.taxeditor.singlesource.store.internal;
|
2
|
|
3
|
import org.apache.log4j.Logger;
|
4
|
|
5
|
import org.osgi.framework.BundleContext;
|
6
|
|
7
|
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
|
8
|
|
9
|
/**
|
10
|
* The activator class controls the plug-in life cycle
|
11
|
*
|
12
|
* @author n.hoffmann
|
13
|
* @version $Id: $
|
14
|
*/
|
15
|
public class TaxeditorStorePluginImpl extends TaxeditorStorePlugin {
|
16
|
private static final Logger logger = Logger.getLogger(TaxeditorStorePluginImpl.class);
|
17
|
|
18
|
/*
|
19
|
* (non-Javadoc)
|
20
|
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
|
21
|
*/
|
22
|
/** {@inheritDoc} */
|
23
|
public void start(BundleContext context) throws Exception {
|
24
|
super.start(context);
|
25
|
logger.debug("TaxeditorStorePlugin.start(BundleContext) : PreferencesUtil.setDefaults()");
|
26
|
// TODO check if still needed, because we do the same thing in TaxeditorStoreStartup
|
27
|
PreferencesUtil.setDefaults();
|
28
|
}
|
29
|
|
30
|
}
|