edu.stanford.smi.protege.event
Class KnowledgeBaseEvent
java.lang.Object
java.util.EventObject
edu.stanford.smi.protege.util.AbstractEvent
edu.stanford.smi.protege.event.KnowledgeBaseEvent
- All Implemented Interfaces:
- Localizable, Serializable
- public class KnowledgeBaseEvent
- extends AbstractEvent
Event generated when the knowledge base changes. Note that this just covers instance creation/deletion. Changes
to existing instances generate separate events.
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
CLS_CREATED
public static final int CLS_CREATED
- See Also:
- Constant Field Values
CLS_DELETED
public static final int CLS_DELETED
- See Also:
- Constant Field Values
SLOT_CREATED
public static final int SLOT_CREATED
- See Also:
- Constant Field Values
SLOT_DELETED
public static final int SLOT_DELETED
- See Also:
- Constant Field Values
FACET_CREATED
public static final int FACET_CREATED
- See Also:
- Constant Field Values
FACET_DELETED
public static final int FACET_DELETED
- See Also:
- Constant Field Values
INSTANCE_CREATED
public static final int INSTANCE_CREATED
- See Also:
- Constant Field Values
INSTANCE_DELETED
public static final int INSTANCE_DELETED
- See Also:
- Constant Field Values
FRAME_NAME_CHANGED
public static final int FRAME_NAME_CHANGED
- See Also:
- Constant Field Values
DEFAULT_CLS_METACLASS_CHANGED
public static final int DEFAULT_CLS_METACLASS_CHANGED
- See Also:
- Constant Field Values
DEFAULT_SLOT_METACLASS_CHANGED
public static final int DEFAULT_SLOT_METACLASS_CHANGED
- See Also:
- Constant Field Values
DEFAULT_FACET_METACLASS_CHANGED
public static final int DEFAULT_FACET_METACLASS_CHANGED
- See Also:
- Constant Field Values
KnowledgeBaseEvent
public KnowledgeBaseEvent(KnowledgeBase kb,
int type,
Frame frame)
KnowledgeBaseEvent
public KnowledgeBaseEvent(KnowledgeBase kb,
int type,
Frame frame,
Object arg2)
KnowledgeBaseEvent
public KnowledgeBaseEvent(KnowledgeBase kb,
int type,
Frame frame,
Object arg2,
Object arg3)
getCls
public Cls getCls()
getFacet
public Facet getFacet()
getFrame
public Frame getFrame()
getOldMetaCls
public Cls getOldMetaCls()
getOldName
public String getOldName()
getSlot
public Slot getSlot()
localize
public void localize(KnowledgeBase kb)
- Specified by:
localize
in interface Localizable
- Overrides:
localize
in class AbstractEvent
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.