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

org.protege.editor.owl.ui.view.objectproperty.OWLObjectPropertyUsageViewComponent Maven / Gradle / Ivy

package org.protege.editor.owl.ui.view.objectproperty;

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

import java.awt.*;


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

*/ public class OWLObjectPropertyUsageViewComponent extends AbstractOWLObjectPropertyViewComponent { /** * */ private static final long serialVersionUID = -2146681987525184036L; private UsagePanel usagePanel; protected OWLObjectProperty updateView(OWLObjectProperty property) { usagePanel.setOWLEntity(property); return property; } public void initialiseView() throws Exception { setLayout(new BorderLayout()); usagePanel = new UsagePanel(getOWLEditorKit()); add(usagePanel, BorderLayout.CENTER); } public void disposeView() { } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy