Examples of create()


Examples of de.lessvoid.nifty.loaderv2.types.ElementType.create()

  private Element createElementFromTypeInternal(final Screen screen, final Element parent, final ElementType type, final LayoutPart layoutPart) {
    ElementType elementType = type.copy();
    elementType.prepare(this, screen, screen.getRootElement().getElementType());
    elementType.connectParentControls(parent);
    Element element = elementType.create(parent, this, screen, layoutPart);
    if (screen.isBound()) {
      screen.layoutLayers();
      element.bindControls(screen);
      element.initControls();
      element.startEffect(EffectEventId.onStartScreen);

Examples of de.lessvoid.nifty.loaderv2.types.NiftyType.create()

    log.info("loadFromFile [" + filename + "]");

    try {
      long start = timeProvider.getMsTime();
      NiftyType niftyType = loader.loadNiftyXml("nifty.nxs", ResourceLoader.getResourceAsStream(filename), this);
      niftyType.create(this, timeProvider);
      if (log.isLoggable(Level.INFO)) {
        log.info(niftyType.output());
      }
      long end = timeProvider.getMsTime();
      log.info("loadFromFile took [" + (end - start) + "]");

Examples of de.lessvoid.nifty.loaderv2.types.PopupType.create()

  private Element createPopupFromType(final PopupType popupTypeParam, final String id) {
    Screen screen = getCurrentScreen();
    LayoutPart layerLayout = rootLayerFactory.createRootLayerLayoutPart(this);
    PopupType popupType = new PopupType(popupTypeParam);
    popupType.prepare(this, screen, screen.getRootElement().getElementType());
    Element element = popupType.create(screen.getRootElement(), this, screen, layerLayout);
    element.setId(id);
    fixupSubIds(element, id);
    if (screen.isBound()) {
      element.layoutElements();
      element.bindControls(screen);

Examples of de.lv.jvoxgl.render.ShaderProgram.create()

      e.printStackTrace();
    }
   
    HashMap<Integer, String> att = new HashMap<Integer, String>();
    att.put(0, "in_Position");
    shader.create(att);
   
    world.setShader(shader);
   
    cam = new FPSCameraController(0, -30, -40);
    Mouse.setGrabbed(true);

Examples of de.mhus.hair.jack.CreateNodeSubOperation.create()

      monitor.log().d("create",name,primaryType);
     
      IConfigurationElement config = services.get(primaryType);
      if (config != null) {
        CreateNodeSubOperation subOperation = (CreateNodeSubOperation)config.createExecutableExtension("class");
        nextOperation = subOperation.create(parent, name, !useTransaction);
       
      } else {
        Node newNode = parent.getNode().addNode(name,primaryType);
        if (!useTransaction) session.save();
        if (newNode != null) {

Examples of de.mhus.lib.test.adb.model.Finances.create()

 
      Finances f = new Finances();
      f.setActiva(10);
      f.setPassiva(10);
      f.setStore(s1.getId());
      f.create(manager);
     
      f.setActiva(20);
      f.save();
     
      f.setNewConfidential("write");

Examples of de.mhus.lib.test.adb.model.Regal.create()

      // test dynamic objects

      Regal r = new Regal();
      r.setValue("store", s1.getId());
      r.setValue("name", "regal 1");
      r.create(manager);
     
      r.setValue("name", "regal 22113221");
      r.save();
     
      Regal r2 = (Regal) manager.getObject(Regal.class, r.getValue("id"));

Examples of de.mhus.lib.test.adb.model.Store.create()

      // test comfortable object
     
      Store s1 = new Store();
      s1.setName("Creasy Bookstore");
      s1.setAddress("The Oaks\nDublin");
      s1.create(manager);
     
      s1.setAddress("The Lakes\nDublin");
      s1.save();
     
      // test change in another session and reload

Examples of de.mhus.lib.test.caodb.Blub.create()

    BlubSchema schema = new BlubSchema();
    DbManager manager = new DbManager(pool, schema);
   
    Blub b = new Blub();
    b.setName("root1");
    b.create(manager);
   
    b = new Blub();
    b.setName("root2");
    b.create(manager);
   

Examples of de.odysseus.calyxo.base.access.AccessSupport.create()

    ModuleContext context = modules.getModuleContext(pageContext);
    HttpServletRequest request =
      (HttpServletRequest)pageContext.getRequest();

    AccessSupport support = AccessSupport.getInstance(context);
    request.setAttribute(var, support.create(request));

    reset();
    return EVAL_PAGE;
  }
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.