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

org.protege.editor.owl.ProtegeOWL Maven / Gradle / Ivy

Go to download

OWL ontology editing infrastructure used by the Protege desktop application.

There is a newer version: 5.6.5
Show newest version
package org.protege.editor.owl;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;



/**
 * This class is minimal for the moment.  We can refactor or maybe more stuff (an
 * Activator?) will come here.
 * @author tredmond
 *
 */
public class ProtegeOWL implements BundleActivator {

    public static final String ID = "org.protege.editor.owl";
    
    private static BundleContext context;

    public void start(BundleContext context) throws Exception {
        ProtegeOWL.context = context;
    }

    public void stop(BundleContext context) throws Exception {
        ProtegeOWL.context = null;
    }
    
    public static BundleContext getBundleContext() {
        return context;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy