Examples of create()


Examples of org.springframework.ide.eclipse.wizard.ui.BeanWizardDialog.create()

      public void widgetSelected(SelectionEvent e) {
        IFile sourceFile = getConfigEditor().getResourceFile();
        Shell shell = getFormPage().getSite().getShell();
        if (shell != null && !shell.isDisposed()) {
          BeanWizardDialog dialog = BeanWizardDialog.createBeanWizardDialog(shell, sourceFile, false);
          dialog.create();
          dialog.setBlockOnOpen(true);
          if (dialog.open() == Window.OK) {
            IDOMElement element = dialog.getNewBean();
            getViewer().setSelection(new StructuredSelection(element));
          }

Examples of org.spw.controller.CommunicationController.create()

        com.setMedia("Email");
        com.setTopic(this.getSubject());
        List<Contact> participants = new ArrayList<Contact>(1);
        participants.add(contact);
        com.setParticipants(participants);
        comCtl.create(com);
    }
   
    /**
     * Set the send a copy flag.
     * This flag is used to control whether or not a copy

Examples of org.spw.controller.FundraisingController.create()

    protected void setUp() throws Exception {
        FundraisingController ctrl = new FundraisingController();
        Fundraising fr = new Fundraising();
        fr.setYearFunding(TEST_YEAR);
        fr.setTarget(new BigDecimal(3600));
        ctrl.create(fr);
        int year = 1900;
        int month = 1;
        FundraisingPlan[] plan = new FundraisingPlan[2];
        FundraisingPlan p1 = new FundraisingPlan();
        p1.setMonthSelected(month);

Examples of org.spw.controller.OptionValueController.create()

    public String buttonAdd_action() {
        // Persist the new object
        OptionValueController ctrl = new OptionValueController();
        OptionValue object = getSessionBean1().getOptionValue();
        ctrl.create(object);
       
        return "success";
    }
}

Examples of org.spw.controller.VolunteerController.create()

        Volunteer volunteer = new Volunteer();
        volunteer.setFirstName(getName());
        volunteer.setLastName(getName());
        volunteer.setTypeVolunteer("Accepted");
        volunteer.setYearApplyingFor(1900);
        voCtrl.create(volunteer);

       
        VolunteerApplication application = new VolunteerApplication();
        List<Program> programs = programCtrl.getPrograms();
        assertFalse("No programs, must have at leat one for this test.",

Examples of org.strecks.validator.factory.ValidatorFactory.create()

        Class validatorFactoryClass = factory.value();

        ValidatorFactory v = ReflectHelper.createInstance(validatorFactoryClass, ValidatorFactory.class);

        Method getter = getGetter(method);
        ValidatorWrapper wrapper = v.create(annotation, getter);
        Validator validator = wrapper.getValidator();

        // if we using the raw type, we can check that the generic type matches the
        if (!wrapper.getUsesConvertedValue())
        {

Examples of org.structr.core.app.App.create()

    final List<T> nodes = new LinkedList<>();

    try (final Tx tx = app.tx()) {

      for (int i = 0; i < number; i++) {
        nodes.add(app.create(type));
      }

      tx.success();
    }

Examples of org.subethamail.smtp.AuthenticationHandlerFactory.create()

    {
      sess.sendResponse("502 Authentication not supported");
      return;
    }

    AuthenticationHandler authHandler = authFactory.create();

    String[] args = this.getArgs(commandString);
    // Let's check the command syntax
    if (args.length < 2)
    {

Examples of org.superbiz.cmp2.Movies.create()

        Context context = new InitialContext(p);

        Movies movies = (Movies) context.lookup("MovieBeanLocalHome");

        movies.create("Quentin Tarantino", "Reservoir Dogs", 1992);
        movies.create("Joel Coen", "Fargo", 1996);
        movies.create("Joel Coen", "The Big Lebowski", 1998);

        Collection<Movie> list = movies.findAll();
        assertEquals("Collection.size()", 3, list.size());

Examples of org.switchyard.serial.graph.Factory.create()

        }
        final Class clazz = (Class)graph.decomposeReference(getClazz());
        final Factory factory = Factory.getFactory(clazz);
        final Object obj;
        if (factory.supports(clazz)) {
            obj = factory.create(clazz, this);
        } else {
            final String className = clazz != null ? clazz.getName() : "null";
            SerialLogger.ROOT_LOGGER.classUnsupportedByFactoryReturningNull(className, factory.getClass().getName());
            obj = null;
        }
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.