Examples of create()


Examples of games.stendhal.server.core.config.factory.ConfigurableFactory.create()

    final ConfigurableFactory factory = ConfigurableFactoryHelper.getFactory(className);
    if (factory == null) {
      return null;
    }

    final Object obj = factory.create(new ConfigurableFactoryContext(parameters));

    if (!(obj instanceof Entity)) {
      throw new IllegalArgumentException(obj.getClass().getName()
          + " is not an instance of Entity");
    }

Examples of graphics.mesh.Mesh.create()

    buffer.add(0f);
    buffer.add(0f);
    buffer.add(0f);
    buffer.add(0f);
   
    meshBuilder.create(buffer, 9, GL_STATIC_DRAW, false);
   
    /* Release old mesh (if set) */
    if(this.mesh.isReady())
      this.free();
   

Examples of graphics.mesh.ObjMesh.create()

  @Override
  protected R load(String path) {
    ObjMesh mesh = new ObjMesh();
   
    if(!(mesh.create(path, true)))
      return null;
   
    return (R)mesh;
  }

Examples of hermes.MessageSelectorFactory.create()

      this.destination = destination;
    
      if (selector != null)
      {
         final MessageSelectorFactory messageSelectorFactory = MessageSelectorFactoryFactory.create() ;
         messageSelector = messageSelectorFactory.create(selector) ;
      }
   }

   public String getTitle()
   {

Examples of hidb2.gui.node.EnumItemListNode.create()

                  {
                  if (iwp instanceof DBDataView)
                    {
                    EnumItemListNode ind = (EnumItemListNode) obj;

                    ind.create();

                    page.openEditor(ind, EnumItemListEditor.ID);

                    ((DBDataView) iwp).getTree().refresh(obj, true);
                    }

Examples of hidb2.gui.node.FolderDescrNode.create()

            {
            if (iwp instanceof DBDataView)
              {
              FolderListNode fnd = (FolderListNode) obj;

              fnd.create();

              page.openEditor(fnd, FolderListEditor.ID);

              ((DBDataView) iwp).getTree().refresh(obj, true);
              }

Examples of hidb2.gui.node.FolderListNode.create()

            {
            if (iwp instanceof DBDataView)
              {
              FolderListNode fnd = (FolderListNode) obj;

              fnd.create();

              page.openEditor(fnd, FolderListEditor.ID);

              ((DBDataView) iwp).getTree().refresh(obj, true);
              }

Examples of hidb2.kern.Attribut.create()

                for (File fic : lstMMFile)
                  {
                  DeltaMMFile dlt = new DeltaMMFile(fic);
                  dlt.setFoundFic(fic);

                  AttrImage imgAttr = (AttrImage) a1.create(Application.getDataStore(), fic);

                  if (imgAttr != null)
                    {
                    dlt.setAttrFile(imgAttr);
                    }

Examples of hu.lacimol.tutorial.todo.service.TodoService.create()

    final TodoMonitor monitor = (TodoMonitor) jobDataMap.get("TodoMonitorImpl:instance");
    final TodoService service = (TodoService) jobDataMap.get("TodoService");
   
    DateTime now = DateTime.now();
    SimpleDateFormat fmt = GlobalSettings.createHunDateFormatter();
    service.create("TodoTask description " + fmt.format(now.toDate()));
    monitor.setLastRun(now.toDate());
    monitor.setNextRun(now.plus(monitor.getInterval()).toDate());
    logger.info("TodoTask executed at " + fmt.format(monitor.getLastRun()) + " and will execute at "
        + fmt.format(monitor.getNextRun()));
  }

Examples of hudson.plugins.analysis.util.ContextHashCode.create()

                    Set<FileAnnotation> warnings = Sets.newHashSet();
                    warnings.addAll(result);
                    ContextHashCode hashCode = new ContextHashCode();
                    for (FileAnnotation duplication : warnings) {
                        String fullPath = getFullPath(duplication);
                        long value = hashCode.create(fullPath,
                                duplication.getPrimaryLineNumber(), defaultEncoding);
                        duplication.setContextHashCode(value * 31 + (((DuplicateCode)duplication).getNumberOfLines()));
                    }

                    return warnings;
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.