import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
+import eu.etaxonomy.taxeditor.navigation.StateManager;
+import eu.etaxonomy.taxeditor.store.CdmStore;
+
/**
* The activator class controls the plug-in life cycle
*/
// The shared instance
private static TaxeditorNavigationPlugin plugin;
+
+ private StateManager stateManager;
/**
* The constructor
*/
public void start(BundleContext context) throws Exception {
super.start(context);
+
+ stateManager = new StateManager();
+ CdmStore.addContextListener(stateManager);
plugin = this;
}