Examples of perform()


Examples of org.jbpm.pvm.internal.model.op.AtomicOperation.perform()

      }
     
      try {
        while (! atomicOperations.isEmpty()) {
          AtomicOperation atomicOperation = atomicOperations.poll();
          atomicOperation.perform(this);
        }

      } catch (RuntimeException e ) {
        throw e;
      } finally {
View Full Code Here

Examples of org.jostraca.directive.ReplaceDirective.perform()

    ReplaceDirective rd = new ReplaceDirective();
    assertEquals( "replace", rd.getName() );

    ttmt = new TextualTransformManagerTable( ps );
    rd   = new ReplaceDirective();
    rd.perform( "replace", " a b ", bul, tahs, ps, ttmt );
    assertEquals( "xbx", ttmt.getTextTTM().transform( "xax" ) );

    ttmt = new TextualTransformManagerTable( ps );
    rd   = new ReplaceDirective();
    rd.perform( "replace/first", " a b ", bul, tahs, ps, ttmt );
View Full Code Here

Examples of org.jostraca.directive.SectionDirective.perform()

    SectionDirective sd = new SectionDirective();
    assertTrue( "section".equals( sd.getName() ) );

    tahs.clear();
    tahs.setDefaultSection( "foo" );
    sd.perform( "section", " ", bul, tahs, ps, ttmt );
    assertTrue( Section.NAME_body.equals( tahs.getDefaultSectionName() ) );

    tahs.clear();
    sd.perform( "section", " foo ", bul, tahs, ps, ttmt );
    assertTrue( "foo".equals( tahs.getDefaultSectionName() ) );
View Full Code Here

Examples of org.locationtech.udig.printing.ui.IBoxEditAction.perform()

        EditPolicy policy = getEditPolicy(request.getType());
        if( policy instanceof PrintingEditPolicy ){
            PrintingEditPolicy editPolicy = (PrintingEditPolicy)policy;
            IBoxEditAction action = editPolicy.getAction().getBoxEditAction();
            action.init(this);
            action.perform();
            Display display = getViewer().getControl().getDisplay();
            while( !action.isDone() ){
                if( !display.readAndDispatch() ){
                    try {
                        Thread.sleep(200);
View Full Code Here

Examples of org.locationtech.udig.project.ui.internal.dragdrop.DropFilterAction.perform()

       
        final Layer layer = targetMap.getLayersInternal().get(0);
        action.init(null, null, ViewerDropLocation.NONE, layer, filter);
        assertTrue(action.accept());
        assertEquals(Filter.EXCLUDE, layer.getFilter());
        action.perform(new NullProgressMonitor());
        assertEquals(filter, layer.getFilter());
        layer.setFilter( null ); // Filter.EXCLUDE;

        action.init(null, null, ViewerDropLocation.NONE, layer, aF);
        action.perform(new NullProgressMonitor());
View Full Code Here

Examples of org.ocpsoft.rewrite.config.Rule.perform()

                     if (event.getFlow().is(ServletRewriteFlow.HANDLED))
                     {
                        return;
                     }

                     rule.perform(event, context);

                     if (event.getFlow().is(ServletRewriteFlow.HANDLED))
                     {
                        return;
                     }
View Full Code Here

Examples of org.ocpsoft.rewrite.servlet.config.Forward.perform()

         {
            event.getRewriteContext().put(JOIN_DISABLED_KEY, true);
         }
         Forward forward = Forward.to(resourcePattern);
         forward.setParameterStore(store);
         forward.perform(event, context);
      }

      else if (event instanceof HttpOutboundServletRewrite)
      {
         Set<String> parameters = getPathRequestParameters();
View Full Code Here

Examples of org.ocpsoft.rewrite.servlet.config.Substitute.perform()

         Address outboundAddress = ((HttpOutboundServletRewrite) event).getOutboundAddress();

         Substitute substitute = Substitute.with(requestPattern + query.toQueryString());
         substitute.setParameterStore(store);

         substitute.perform(event, context);

         Address rewrittenAddress = ((HttpOutboundServletRewrite) event).getOutboundAddress();
         String rewrittenPath = rewrittenAddress.getPath();
         String contextPath = ((HttpServletRewrite) event).getContextPath();
         if (!contextPath.equals("/") && rewrittenPath.startsWith(contextPath))
View Full Code Here

Examples of org.openqa.selenium.interactions.Action.perform()

    protected void filterTextInput(WebElement input, String value, boolean valid) {
        input.click();
        input.clear();
        input.sendKeys(value);
        Action blur = valid ? Graphene.guardAjax(fireEventAction(input, "blur")) : fireEventAction(input, "blur");
        blur.perform();
    }

    protected Action fireEventAction(final WebElement element, final String event) {
        return new AbstractWebDriverTest.EventAction(browser, element, event);
    }
View Full Code Here

Examples of org.openqa.selenium.interactions.Actions.perform()

    }

    private WebElement openContextMenu() {
        Actions actions = new Actions(getDriver());
        actions.contextClick(findElement(By.className("v-table-cell-wrapper")));
        actions.perform();
        return findElement(By.className("v-contextmenu"));
    }

    private void closeContextMenu() {
        Actions actions = new Actions(getDriver());
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.