Package org.mindswap.pellet.utils.progress

Examples of org.mindswap.pellet.utils.progress.SilentProgressMonitor


  /**
   * {@inheritDoc}
   */
  public void setProgressMonitor(ProgressMonitor monitor) {
    if( monitor == null ) {
          this.monitor = new SilentProgressMonitor();
        }
        else {
          this.monitor = monitor;
        }
  }
View Full Code Here


    this.kb = kb;
  }

  public void setProgressMonitor(ProgressMonitor monitor) {
    if( monitor == null ) {
          this.monitor = new SilentProgressMonitor();
        }
        else {
          this.monitor = monitor;
        }
  }
View Full Code Here

      builder = builderClass.newInstance();
      builder.setKB( kb );
    } catch( Exception e ) {
      throw new RuntimeException( e );
    }
builder.setProgressMonitor( new SilentProgressMonitor() );
    builder.classify();
    Taxonomy<ATermAppl> taxonomy = builder.getTaxonomy();
   
//     taxonomy.getTop().print();
View Full Code Here

    int axiomCount = 0;
    Collection<OWLOntology> toBeLoaded = new LinkedHashSet<OWLOntology>();
    for( OWLOntology ontology : ontologies )
      axiomCount += load( ontology, false, toBeLoaded );

    ProgressMonitor monitor = new SilentProgressMonitor();
    monitor.setProgressTitle( "Loading" );
    monitor.setProgressLength( axiomCount );
    monitor.taskStarted();

    visitor.reset();
    visitor.setAddAxiom( true );
    visitor.setMonitor( monitor );

    for( OWLOntology ontology : toBeLoaded )
      ontology.accept( visitor );
   
    visitor.verify();

    monitor.taskFinished();

    timer.stop();
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public void setProgressMonitor(ProgressMonitor monitor) {
    if( monitor == null ) {
          this.monitor = new SilentProgressMonitor();
        }
        else {
          this.monitor = monitor;
        }
  }
View Full Code Here

    this.kb = kb;
  }

  public void setProgressMonitor(ProgressMonitor monitor) {
    if( monitor == null ) {
          this.monitor = new SilentProgressMonitor();
        }
        else {
          this.monitor = monitor;
        }
  }
View Full Code Here

      builder = builderClass.newInstance();
      builder.setKB( kb );
    } catch( Exception e ) {
      throw new RuntimeException( e );
    }
builder.setProgressMonitor( new SilentProgressMonitor() );
    builder.classify();
    Taxonomy<ATermAppl> taxonomy = builder.getTaxonomy();
   
//     taxonomy.getTop().print();
View Full Code Here

TOP

Related Classes of org.mindswap.pellet.utils.progress.SilentProgressMonitor

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.