package de.tudresden.inf.lat.born.protege;

import java.awt.BorderLayout;

import org.protege.editor.owl.ui.view.cls.AbstractOWLClassViewComponent;
import org.semanticweb.owlapi.model.OWLClass;

import de.tudresden.inf.lat.born.main.BornStarter;

/**
 * This is the Protege view component of BORN.
 * 
 * @author Julian Mendez
 */
public class Main extends AbstractOWLClassViewComponent {

	private static final long serialVersionUID = -5363687740449453246L;

	private BornStarter bornStarter = null;

	@Override
	public void disposeView() {
		this.bornStarter.removeListeners();
	}

	/**
	 * Initializes the data and GUI. This method is called when the view is
	 * initialized.
	 */
	@Override
	public void initialiseClassView() {
		this.bornStarter = new BornStarter(getOWLModelManager().getOWLOntologyManager());
		this.setLayout(new BorderLayout());
		add(this.bornStarter.getPanel().getView(), BorderLayout.CENTER);
	}

	@Override
	protected OWLClass updateView(OWLClass selectedClass) {
		return selectedClass;
	}

}

@@ -539,46 +539,8 @@
 ) %7B%0A
-%09%09this.bornStarter.removeListeners();%0A
 %09%7D%0A%0A

Make small fix