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

edu.stanford.smi.protege.event.KnowledgeBaseAdapter Maven / Gradle / Ivy

Go to download

Core code for the Protege ontology editor. Serves as the basis for the Protege-Frames and Protege-OWL editors.

There is a newer version: 3.5.1
Show newest version
package edu.stanford.smi.protege.event;

/**
 * Adapter for the listener interface for Knowledge base events.  Subclass this class if you want only to catch a few
 * knowledge base events.
 *
 * @author    Ray Fergerson 
 */
public abstract class KnowledgeBaseAdapter implements KnowledgeBaseListener {

    public void clsCreated(KnowledgeBaseEvent event) {
    }

    public void clsDeleted(KnowledgeBaseEvent event) {
    }

    public void defaultClsMetaClsChanged(KnowledgeBaseEvent event) {
    }

    public void defaultFacetMetaClsChanged(KnowledgeBaseEvent event) {
    }

    public void defaultSlotMetaClsChanged(KnowledgeBaseEvent event) {
    }

    public void facetCreated(KnowledgeBaseEvent event) {
    }

    public void facetDeleted(KnowledgeBaseEvent event) {
    }

    /*
     * @deprecated Override replaceFrame instead
     */
    @Deprecated
    public void frameNameChanged(KnowledgeBaseEvent event) {
        frameReplaced(event);
    }
    
    public void frameReplaced(KnowledgeBaseEvent event) {
    }

    public void instanceCreated(KnowledgeBaseEvent event) {
    }

    public void instanceDeleted(KnowledgeBaseEvent event) {
    }

    public void slotCreated(KnowledgeBaseEvent event) {
    }

    public void slotDeleted(KnowledgeBaseEvent event) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy