Project

General

Profile

« Previous | Next » 

Revision f638efaa

Added by Andreas Müller about 9 years ago

fix NPE bug and termloading bug for Usage Records #4247

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/internal/TaxeditorEditorPlugin.java
33 33
	public TaxeditorEditorPlugin() {
34 34
	}
35 35

  
36
	/*
37
	 * (non-Javadoc)
38
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
39
	 */
40 36
	/** {@inheritDoc} */
41 37
	public void start(BundleContext context) throws Exception {
42 38
		super.start(context);
......
44 40
		EditorStateManager stateManager = new EditorStateManager();
45 41
		CdmStore.getContextManager().addContextListener(stateManager);
46 42
		
43
		UseObjectManager useManager = new UseObjectManager();  	 	 
44
		CdmStore.getContextManager().addContextListener(useManager);
45
		
47 46
		ValidationContextListener vcl = new ValidationContextListener();
48 47
//		CdmStore.getContextManager().addContextListener(vcl);
49 48
		
......
51 50
		logger.trace("Plugin started: " + this.getBundle().getSymbolicName());
52 51
	}
53 52

  
54
	/*
55
	 * (non-Javadoc)
56
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
57
	 */
53

  
58 54
	/** {@inheritDoc} */
59 55
	public void stop(BundleContext context) throws Exception {
60 56
		plugin = null;

Also available in: Unified diff