Package edu.stanford.smi.protege.event

Examples of edu.stanford.smi.protege.event.KnowledgeBaseAdapter


public class OWLKBAssertedGraphModel extends OWLKBAbstractGraphModel {

  public OWLKBAssertedGraphModel(OWLModel model) {
    super(model);
    final OWLVizOptions options = OWLVizOptions.getInstance();
    model.addKnowledgeBaseListener(new KnowledgeBaseAdapter() {
      public void clsCreated(KnowledgeBaseEvent event) {
        ArrayList list = new ArrayList(1);
        list.add(event.getCls());
        fireObjectsAddedEvent(list);
      }
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protege.event.KnowledgeBaseAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.