Examples of ModelManager


Examples of org.protege.editor.core.ModelManager

         String host = getHost();
         String port = getPort();
        
         Properties pro = null;
//         try {
          ModelManager modelManager = workspace.getEditorKit().getModelManager();
          if(modelManager instanceof OWLModelManager){
            OWLOntologyManager manager = ((OWLModelManager)modelManager).getOWLOntologyManager();
            ReasonerRegistry registry = HeraklesManager.getReasonerRegistry();
            ReasonerAdapter adapter = null;
            boolean isNewReasoner = false;
View Full Code Here

Examples of org.protege.editor.core.ModelManager

    ontologyPanel.setLayout(new BoxLayout(ontologyPanel, BoxLayout.Y_AXIS));
    ontologyPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder
        (BorderFactory.createLineBorder(Color.LIGHT_GRAY), "Ontology Selection"),
        BorderFactory.createEmptyBorder(3, 3, 3, 3)));
   
    ModelManager model = this.getWorkspace().getEditorKit().getModelManager();
    OWLModelManager owlModel = null;
    if(model instanceof OWLModelManager){
      owlModel = (OWLModelManager) model;
    }
    Set<OWLOntology> ontologies = owlModel.getActiveOntologies();
View Full Code Here

Examples of org.protege.editor.core.ModelManager

          else {
            ExecutionConfigurationView.getInstance().clear();
          }
         
          // if the current running reasoner is herakles, set the new load strategy
          ModelManager modelManager = workspace.getEditorKit().getModelManager();
          if(modelManager instanceof OWLModelManager){
            OWLModelManager owlModelManager = (OWLModelManager)modelManager;
            OWLReasoner reasoner = owlModelManager.getReasoner();
            if(reasoner instanceof Herakles){
              Herakles herakles = (Herakles)reasoner;
View Full Code Here

Examples of rinde.sim.core.model.ModelManager

    rand = r;
    time = 0L;
    // time lapse is reused in a Flyweight kind of style
    timeLapse = new TimeLapse(step.getUnit());

    modelManager = new ModelManager();

    dispatcher = new EventDispatcher(SimulatorEventType.values());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.