Examples of run()


Examples of pellet.PelletCmdApp.run()

   
    public void run( String... args ) {
     
      PelletCmdApp app = create( );
      app.parseArgs( prepend( args, app.getAppCmd() ) );
      app.run();
    }
   
   
  }
 
View Full Code Here

Examples of pellet.PelletTransTree.run()

  @Test
  public void filter1() {
    PelletTransTree cli = new PelletTransTree();
   
    cli.parseArgs(new String[]{"trans-tree","-p","http://clarkparsia.com/pellet/tutorial/pops#subProjectOf","-f","http://clarkparsia.com/pellet/tutorial/pops#Employee","test/data/trans-tree-tests/ontology-010.ttl"});
    cli.run();
   
    Taxonomy<ATermAppl> taxonomy = cli.publicTaxonomy;
   
    assertEquals(5, taxonomy.getClasses().size())//TOP, not(TOP), Employee, CivilServant, Contractor
   
View Full Code Here

Examples of prefuse.Visualization.run()

        xcb.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                Visualization vis = sp.getVisualization();
                AxisLayout xaxis = (AxisLayout)vis.getAction("x");
                xaxis.setDataField((String)xcb.getSelectedItem());
                vis.run("draw");
            }
        });
        toolbar.add(new JLabel("X: "));
        toolbar.add(xcb);
        toolbar.add(Box.createHorizontalStrut(2*spacing));
 
View Full Code Here

Examples of prefuse.action.Action.run()

        animate.add(new ColorAnimator(LABELS, VisualItem.TEXTCOLOR));
        animate.add(new RepaintAction());
        animate.addActivityListener(new ActivityAdapter() {
            public void activityCancelled(Activity a) {
                // if animation is canceled, set colors to final state
                update.run(1.0);
            }
        });
        m_vis.putAction("animate", animate);
       
        // update items after a resize of the display, animating them to their
View Full Code Here

Examples of project.gluebooster.maven.doxia.Html2DoxiaConverter.run()

      //HashMap keyMap = new HashMap();
      //fillParameterMap(keyMap);
      //keyMap.put(HTML.Tag.PARAM, getParameterMap());
      converter.setHtml(getMap().get(/*keyMap*/getParameterMap()));

      converter.run();
      sink.flush();
      sink.close();
    }
    catch (Exception ex)
    {
View Full Code Here

Examples of ptolemy.actor.Manager.run()

        // System.out.println(topLevelActor.exportMoML());
        System.out.println();
        System.out.println();
        System.out.println();

        manager.run();

        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
View Full Code Here

Examples of rabbit.ui.internal.actions.ShowHideFilterControlAction.run()

    ShowHideFilterControlAction action = new ShowHideFilterControlAction(tree);
    assertTrue(tree.getFilterControl().getParent().isVisible());
    assertEquals(tree.getFilterControl().getParent().isVisible(), action
        .isChecked());

    action.run();
    assertFalse(tree.getFilterControl().getParent().isVisible());
    assertEquals(tree.getFilterControl().getParent().isVisible(), action
        .isChecked());
   
    action.run();
View Full Code Here

Examples of redis.seek.Search.run()

    public void cache() throws InterruptedException {
        addEntry("MLA98251174", 1287278019);
        Seek seek = new Seek();
        Search search = seek.search("84689862");
        search.text("title", "ipod 160");
        Result result = search.run(1, 0, 50, Order.DESC);
        Set<String> keys = jedis.keys("*:" + Seek.QUERIES_RESULT);
        assertEquals(1, result.getTotalCount());
        assertEquals(1, keys.size());
        Thread.sleep(2000);
        keys = jedis.keys("*:" + Seek.QUERIES_RESULT);
View Full Code Here

Examples of ro.isdc.wro.manager.runnable.ReloadModelRunnable.run()

    // use original decorated object because the decorated one trigger the processing for each cache lookup.
    final CacheStrategy<CacheKey, CacheValue> cacheStrategy = AbstractDecorator.getOriginalDecoratedObject(wroManager.getCacheStrategy());
    Assert.assertNotNull(cacheStrategy.get(new CacheKey("g3", ResourceType.CSS, true)));

    final ReloadModelRunnable reloadModelRunnable = new ReloadModelRunnable(wroManager.getModelFactory());
    reloadModelRunnable.run();
    Assert.assertNotNull(cacheStrategy.get(new CacheKey("g3", ResourceType.CSS, true)));
  }

  @Test
  public void shouldRegisterCallback() {
View Full Code Here

Examples of scala_maven_executions.JavaMainCaller.run()

        public void run() {
            try {
                getLog().info("stop server(s)...");
                JavaMainCaller jcmd = getScalaCommand();
                jcmd.addArgs("-shutdown");
                jcmd.run(displayCmd, false);
                File serverTagFile = new File(mainOutputDir + ".server");
                if (serverTagFile.exists()) {
                    serverTagFile.delete();
                }
            } catch (Exception exc) {
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.