edu.stanford.smi.protege.event
Class KnowledgeBaseAdapter
java.lang.Object
edu.stanford.smi.protege.event.KnowledgeBaseAdapter
- All Implemented Interfaces:
- KnowledgeBaseListener, EventListener
public abstract class KnowledgeBaseAdapter
- extends Object
- implements KnowledgeBaseListener
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KnowledgeBaseAdapter
public KnowledgeBaseAdapter()
clsCreated
public void clsCreated(KnowledgeBaseEvent event)
- Specified by:
clsCreated
in interface KnowledgeBaseListener
clsDeleted
public void clsDeleted(KnowledgeBaseEvent event)
- Specified by:
clsDeleted
in interface KnowledgeBaseListener
defaultClsMetaClsChanged
public void defaultClsMetaClsChanged(KnowledgeBaseEvent event)
- Specified by:
defaultClsMetaClsChanged
in interface KnowledgeBaseListener
defaultFacetMetaClsChanged
public void defaultFacetMetaClsChanged(KnowledgeBaseEvent event)
- Specified by:
defaultFacetMetaClsChanged
in interface KnowledgeBaseListener
defaultSlotMetaClsChanged
public void defaultSlotMetaClsChanged(KnowledgeBaseEvent event)
- Specified by:
defaultSlotMetaClsChanged
in interface KnowledgeBaseListener
facetCreated
public void facetCreated(KnowledgeBaseEvent event)
- Specified by:
facetCreated
in interface KnowledgeBaseListener
facetDeleted
public void facetDeleted(KnowledgeBaseEvent event)
- Specified by:
facetDeleted
in interface KnowledgeBaseListener
frameNameChanged
@Deprecated
public void frameNameChanged(KnowledgeBaseEvent event)
- Deprecated.
- Description copied from interface:
KnowledgeBaseListener
- This method should be called frameReplaced(). Its name cannot be changed for
backwards compatibility reasons. The closest thing in Protege frames to a rename
frame operation is a replace frame operation where a frame is deleted and a new
frame is created which is identical to the original except for the name. When this
happens the following method is called.
- Specified by:
frameNameChanged
in interface KnowledgeBaseListener
frameReplaced
public void frameReplaced(KnowledgeBaseEvent event)
instanceCreated
public void instanceCreated(KnowledgeBaseEvent event)
- Specified by:
instanceCreated
in interface KnowledgeBaseListener
instanceDeleted
public void instanceDeleted(KnowledgeBaseEvent event)
- Specified by:
instanceDeleted
in interface KnowledgeBaseListener
slotCreated
public void slotCreated(KnowledgeBaseEvent event)
- Specified by:
slotCreated
in interface KnowledgeBaseListener
slotDeleted
public void slotDeleted(KnowledgeBaseEvent event)
- Specified by:
slotDeleted
in interface KnowledgeBaseListener
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.