Examples of create()


Examples of com.denimgroup.threadfix.plugin.eclipse.dialog.ConfigDialog.create()

  @Override
  public void run(IAction action) {
    boolean cancelled = false;
    ConfigDialog dialog = new ConfigDialog(window.getShell(), false);

    dialog.create();

    if (dialog.open() == Window.OK) {
      EclipsePropertiesManager.saveThreadFixInfo(dialog.getUrl(), dialog.getApiKey());
      ApplicationsMap threadFixApplicationMap = ThreadFixService.getApplications();
     

Examples of com.dooapp.fxform.model.PropertyElementFactory.create()

    }

    @Test
    public void testElementFactory() throws NoSuchFieldException, FormException {
        PropertyElementFactory tested = new PropertyElementFactory();
        Element methodElement = tested.create(MethodTestBean.class.getDeclaredField("name"));
        Element fieldElement = tested.create(FieldTestBean.class.getDeclaredField("name"));
        Assert.assertEquals(PropertyMethodElement.class, methodElement.getClass());
        Assert.assertEquals(PropertyFieldElement.class, fieldElement.getClass());
    }

Examples of com.dotcms.repackage.net.sf.hibernate.tool.hbm2ddl.SchemaExport.create()

            //File out = new File(sqlFileName);
            File out = new File(basedir, sqlFileName);
           
      boolean afterDrops = false;
      sexp.setOutputFile(in.getAbsolutePath());
      sexp.create(false, false);
      BufferedReader r = new BufferedReader(new FileReader(in));
      BufferedWriter wr = new BufferedWriter(new FileWriter(out));
      java.util.regex.Pattern p = java.util.regex.Pattern.compile("[a-zA-Z][A-Z,a-z,0-9]*\\s[A-Z,a-z,0-9]*\\s[a-zA-Z][A-Z,a-z,0-9]*\\s\\([a-zA-Z][A-Z,a-z,0-9]*.*");
      while (r.ready()) {
        String myLine = r.readLine().toLowerCase();

Examples of com.edb.os.xstream.writer.ClassWriter.create()

        stack.push(classWriter);
        currentDepth++;
        paramNameIndex++;

        // inform the writer that it has been located. It is up to it if it needs to write something (like new) to the writer
        classWriter.create(writer);
   
}

Examples of com.erudika.para.core.App.create()

        App app = new App(Config.APP_NAME_NS); // the root app name
        if (app.exists()) {
          return RestUtils.getStatusResponse(Response.Status.OK, "All set!");
        } else {
          app.setName(Config.APP_NAME);
          app.create();
          Map<String, String> creds = app.getCredentials();
          creds.put("info", "Save the secret key! It is showed only once!");
          return Response.ok(creds).build();
        }
      }

Examples of com.erudika.para.core.User.create()

                    } else {
                      user.setPicture("http://www.gravatar.com/avatar?d=mm&size=200");
                    }
                  }

                  String id = user.create();
                  if (id == null) {
                    throw new AuthenticationServiceException("Authentication failed: cannot create new user.");
                  }
                }
                userAuth = new UserAuthentication(user);

Examples of com.espertech.esper.client.EPAdministrator.create()

    final EPAdministrator epAdmin = _epService.getEPAdministrator();
    for (String epStatement : _epStatements) {
      _log.debug("Compiling Esper statement {}", epStatement);
      final EPStatementObjectModel stmtModel = epAdmin
          .compileEPL(epStatement);
      final EPStatement stmt = epAdmin.create(stmtModel);
      final String stmtName = Integer.toString(epStatement.hashCode());
      // TODO fast hack disabling queues, since they are currently not
      // supported by Streams-Storm.
      final Sink sink = _sinksMap.get(_statementSinksMap.get(stmtName));
      final String[] propertyNames = stmt.getEventType()

Examples of com.esri.sde.sdk.client.SeLayer.create()

                    layer.setCreationKeyword(configKeyword);

                    /*
                     * Spatially enable the new table...
                     */
                    layer.create(3, 4);
                }
                return null;
            }
        };

Examples of com.esri.sde.sdk.client.SeState.create()

                // must be closed
                if (defVersionState.isOpen()) {
                    defVersionState.close();
                }
                SeState newState1 = new SeState(connection);
                newState1.create(defVersionState.getId());
                return newState1;
            }
        });

        session.startTransaction();

Examples of com.esri.sde.sdk.client.SeTable.create()

                /*
                 * Create the table using the DBMS default configuration keyword. Valid keywords are
                 * defined in the dbtune table.
                 */
                table.create(colDefs, configKeyword);

                /*
                 * Register the column to be used as feature id and managed by sde
                 */
                if (SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE != rowIdColumnType) {
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.