@@ -0,0 +1,1026 @@
+package de.tudresden.inf.lat.born.protege.ui;%0A%0Aimport java.awt.BorderLayout;%0A%0Aimport org.protege.editor.owl.ui.view.cls.AbstractOWLClassViewComponent;%0Aimport org.semanticweb.owlapi.model.OWLClass;%0A%0Aimport de.tudresden.inf.lat.born.main.BornStarter;%0A%0A/**%0A * This is the Protege view component of BORN.%0A * %0A * @author Julian Mendez%0A */%0Apublic class Main extends AbstractOWLClassViewComponent %7B%0A%0A%09private static final long serialVersionUID = -5363687740449453246L;%0A%0A%09private BornStarter bornStarter = null;%0A%0A%09@Override%0A%09public void disposeView() %7B%0A%09%09this.bornStarter.removeListeners();%0A%09%7D%0A%0A%09/**%0A%09 * Initializes the data and GUI. This method is called when the view is%0A%09 * initialized.%0A%09 */%0A%09@Override%0A%09public void initialiseClassView() %7B%0A%09%09this.bornStarter = new BornStarter(getOWLModelManager().getOWLOntologyManager());%0A%09%09this.setLayout(new BorderLayout());%0A%09%09add(this.bornStarter.getPanel().getView(), BorderLayout.CENTER);%0A%09%7D%0A%0A%09@Override%0A%09protected OWLClass updateView(OWLClass selectedClass) %7B%0A%09%09return selectedClass;%0A%09%7D%0A%0A%7D%0A

Add class to initialize from Protege