Examples of realize()


Examples of javax.media.Processor.realize()

      }

      trackControls [0].setFormat(format [0]);

      // We are done with programming the processor. Let's just realize it.
      processor.realize();
      if (!waitForState(processor, Controller.Realized)) {
        throw new IOException("Failed to realize the processor.");
      }

      // Now, we'll need to create a DataSink.
View Full Code Here

Examples of javax.media.Processor.realize()

                throw new IllegalActionException("Cannot support input format");
            }

            trackControl[0].setFormat(format[0]);

            processor.realize();

            if (!_waitForState(processor, Controller.Realized)) {
                throw new IllegalActionException("Failed to realize processor");
            }
View Full Code Here

Examples of javax.media.bean.playerbean.MediaPlayer.realize()

       
        p.syncStart(new Time(0));
        p.start();
        p.stop();
        p.prefetch();
        p.realize();
        p.close();
        p.deallocate();
       
      }
     
View Full Code Here

Examples of javax.microedition.media.Player.realize()

            }
            _handler.setPlayer(player);
            player.addPlayerListener(_handler);

            try {
                player.realize();
            } catch (final Exception e) {
                throw new MediaActionException("unable to fetch media: " + e);
            }

            // Cause playback to begin as soon as possible once start()
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.extension.IExtendedEditorActionProxyForDelayLoading.realize()

            IAction action = ((ActionContributionItem) item).getAction();

            if (action instanceof IExtendedEditorActionProxyForDelayLoading) {
                IExtendedEditorActionProxyForDelayLoading eea = (IExtendedEditorActionProxyForDelayLoading)action;
                if (eea.isBundleActive() == true && eea.isRealized() == false) {
                    eea.realize();
                    needActionContributionItemUpdate = true;
                }
            }

            if (activeEditorIsVisible || needActionContributionItemUpdate) {
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.realize()

    }

    if( realize ) {
      t = timers.startTimer( "realize" );

      kb.realize();

      t.stop();
    }

    return kb;
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.realize()

      case Classify:
        kb.classify();
        break;

      case Realize:
        kb.realize();
        break;

      default:
        throw new AssertionError( "This task does not exist: " + task );
      }
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.realize()

    if( classify ) {
      kb.setDoExplanation( true );
      kb.ensureConsistency();
      kb.setDoExplanation( false );
     
      kb.realize();
    }
  }

  @Override
  public void testInconsistencyExplanations(int max, OWLAxiom[]... explanations) throws Exception {
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.realize()

    KnowledgeBase kb = reasoner.getKB();

    for( int test = 0; test < 2; test++ ) {
      if( test != 0 )
        kb.realize();

      assertTrue( reasoner.isTransitive( hasAncestor ) );
      assertFalse( reasoner.isFunctional( hasAncestor ) );

      assertTrue( reasoner.isTransitive( hasDescendant ) );
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.realize()

    kb.classify();

    kb.getTaxonomyBuilder().setProgressMonitor( monitor );

    kb.realize();

    assertFalse( kb.isRealized() );
  }

  @Test
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.