All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.protege.editor.owl.ui.view.cls.OWLClassUsageViewComponent Maven / Gradle / Ivy

Go to download

OWL ontology editing infrastructure used by the Protege desktop application.

The newest version!
package org.protege.editor.owl.ui.view.cls;

import org.protege.editor.owl.ui.usage.UsagePanel;
import org.semanticweb.owlapi.model.OWLClass;

import java.awt.*;


/**
 * Author: Matthew Horridge
* The University Of Manchester
* Bio-Health Informatics Group
* Date: 22-Feb-2007

*/ public class OWLClassUsageViewComponent extends AbstractOWLClassViewComponent { private UsagePanel usagePanel; public void initialiseClassView() throws Exception { setLayout(new BorderLayout()); usagePanel = new UsagePanel(getOWLEditorKit()); add(usagePanel, BorderLayout.CENTER); } protected OWLClass updateView(OWLClass selectedClass) { usagePanel.setOWLEntity(selectedClass); return selectedClass; } public void disposeView() { } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy