Examples of activate()


Examples of org.speakright.core.SRPersistentState.activate()

    try
    {
      path = state.m_streamId;
      FileInputStream fin = new FileInputStream(path);
      boolean b = state.activate(fin);
      assertEquals("b",true,b);
      fin.close();
      state.m_run.finishActivation();
      state.m_run.restoreModelBinder(new ModelBinder());
    }
View Full Code Here

Examples of org.spout.api.component.entity.PhysicsComponent.activate()

      return;
    }
    this.material = material;
    //Physics
    PhysicsComponent physics = getOwner().getPhysics();
    physics.activate(material.getMass(), material.getShape(), false, true);
    physics.setFriction(material.getFriction());
    physics.setRestitution(material.getRestitution());
  }

  public BlockMaterial getMaterial() {
View Full Code Here

Examples of org.springframework.mock.jndi.SimpleNamingContextBuilder.activate()

    // Set up JNDI context to test the JndiResourceLocator
    final SimpleNamingContextBuilder builder = new SimpleNamingContextBuilder();
    Properties deDict = new Properties();
    deDict.setProperty("Hans", "proper noun");
    builder.bind("dictionaries/german", deDict);
    builder.activate();
  }

  @Test
  public void testScanBind() throws Exception {
    // Create analysis enginge description
View Full Code Here

Examples of org.wso2.carbon.governance.api.services.dataobjects.Service.activate()

        }

        // One hot discovered service coming thru....
        serviceManager.addService(newService);
        if (activate) {
            newService.activate();
        }
    }   

    public static void removeServiceEndpoints(TargetService service) throws Exception {
        TargetService oldService = getService(service.getEpr());
View Full Code Here

Examples of org.zkoss.openlayers.control.Control.activate()

    map.addLayers(Arrays.asList(ol_wms, boxes));
    map.addControl(new LayerSwitcher());
    Control sf = new SelectFeature(boxes);
    map.addControl(sf);
    sf.activate();
    map.zoomToMaxExtent();

  }

}
View Full Code Here

Examples of org.zkoss.openlayers.control.SelectFeature.activate()

    map.addLayers(Arrays.asList(ol_wms, boxes));
    map.addControl(new LayerSwitcher());
    Control sf = new SelectFeature(boxes);
    map.addControl(sf);
    sf.activate();
    map.zoomToMaxExtent();

  }

}
View Full Code Here

Examples of org.zkoss.zk.au.AuRequest.activate()

  }
  public void addRequests(Collection requests) {
    for (Iterator it = requests.iterator(); it.hasNext();) {
      final AuRequest request = (AuRequest)it.next();
      try {
        request.activate();
        if (!isObsolete(request))
          addRequest(request);
      } catch (ComponentNotFoundException ex) { //ignore it
        //ignore it since a long request might remove a timer
        //while clients already queues onTimer generated by the timer
View Full Code Here

Examples of org.zkoss.zk.ui.sys.UiEngine.activate()

  /** Safe to be called even if the Web application has been destroyed
   */
  private void safeActivate(Execution exec) {
    final UiEngine uieng = ((WebAppCtrl)_wapp).getUiEngine();
    if (uieng != null) {
      uieng.activate(exec);
    } else {
      _exec = exec;
      ExecutionsCtrl.setCurrent(exec);
    }
  }
View Full Code Here

Examples of siena.core.options.QueryOptionOffset.activate()

          else sdbCtx.realOffset += pag.pageSize;
         
          // if currentokenoffset is less than next page realoffset
          // uses offset
          if(sdbCtx.currentTokenOffset() <= sdbCtx.realOffset){
            off.activate();
            off.offset = sdbCtx.realOffset - sdbCtx.currentTokenOffset();
          }
          // if currentokenoffset is greater than previous page realoffset
          // go to previous page again
          else {
View Full Code Here

Examples of siena.core.options.QueryOptionPage.activate()

      }
      else {
        if(limit != Integer.MAX_VALUE){
          sdbCtx.realPageSize = limit;
          // activates paging (but not pagination)
          pag.activate();
        }else {
          sdbCtx.realPageSize = 0;
        }
      }
    }else {
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.