Examples of applyTo()


Examples of org.eclipse.jface.layout.GridDataFactory.applyTo()

            startExistingServerButton.setSelection(true);
        }

        skipServerConfiguration = new Button(container, SWT.RADIO);
        skipServerConfiguration.setText("Don't deploy on a server");
        singleRowGridDataFactory.applyTo(skipServerConfiguration);

        setupNewServer = new Button(container, SWT.RADIO);
        setupNewServer.setText("Setup new server");
        singleRowGridDataFactory.applyTo(setupNewServer);
     
View Full Code Here

Examples of org.eclipse.jface.layout.GridDataFactory.applyTo()

        skipServerConfiguration.setText("Don't deploy on a server");
        singleRowGridDataFactory.applyTo(skipServerConfiguration);

        setupNewServer = new Button(container, SWT.RADIO);
        setupNewServer.setText("Setup new server");
        singleRowGridDataFactory.applyTo(setupNewServer);
     
        newLabel(container, "Server name:");
        newServerName = newText(container);
     
        newLabel(container, "Host name:");
View Full Code Here

Examples of org.eclipse.jface.layout.GridLayoutFactory.applyTo()

            final Composite emptyArea = new Composite(details, SWT.NONE);

            GridLayoutFactory glf = GridLayoutFactory.fillDefaults().margins(0, 0);

            final Composite dateArea = new Composite(details, SWT.NONE);
            glf.applyTo(dateArea);
            label = new Label(dateArea, SWT.NONE);
            label.setText(Messages.CSVImportLabelFormat);
            final ComboViewer dateFormats = new ComboViewer(dateArea, SWT.READ_ONLY);
            dateFormats.setContentProvider(ArrayContentProvider.getInstance());
            dateFormats.setInput(DateField.FORMATS);
View Full Code Here

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttachmentMapper.applyTo()

        mapper.setFileName(attachment.getFilename());
        mapper.setLength((long)attachment.getFilesize());
        mapper.setUrl(String.format(IRedmineConstants.REDMINE_URL_ATTACHMENT_DOWNLOAD, repository.getUrl(), attachment.getId()));
       
        taskAttribute = taskData.getRoot().createAttribute(TaskAttribute.PREFIX_ATTACHMENT + mapper.getAttachmentId());
        mapper.applyTo(taskAttribute);
      }
    }
   
    if(issue.getTimeEntries()!=null && issue.getTimeEntries().isViewAllowed()) {
      //TODO kind/label
View Full Code Here

Examples of org.eclipse.mylyn.tasks.core.data.TaskCommentMapper.applyTo()

        mapper.setUrl(issueUrl + String.format(IRedmineConstants.REDMINE_URL_PART_COMMENT, journal.getId()));
        mapper.setNumber(jrnlCount++);
        mapper.setCommentId(String.valueOf(journal.getId()));
       
        taskAttribute = taskData.getRoot().createAttribute(TaskAttribute.PREFIX_COMMENT + mapper.getCommentId());
        mapper.applyTo(taskAttribute);
      }
    }

    /* Attachments */
    if(issue.getAttachments()!=null) {
View Full Code Here

Examples of org.eclipse.mylyn.tasks.core.data.TaskMapper.applyTo()

  }

  @Override
  public void updateTaskFromTaskData(TaskRepository taskRepository, ITask task, TaskData taskData) {
    TaskMapper mapper = getTaskMapping(taskData);
    mapper.applyTo(task);

    task.setUrl(getTaskUrl(taskRepository.getUrl(), task.getTaskId()));
   
    Configuration configuration = getRepositoryConfiguration(taskRepository);
    Assert.isNotNull(configuration);
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.options.SourceHistoryOption.applyTo()

            op.setPipeline(pipeline);
        }
        SchedulePolicy sp = DefaultSchedulePolicyPreference.get();
        op.setSchedulePolicy(sp);
        SourceHistoryOption sourceHistoryOption = new SourceHistoryOption(DefaultSourceHistorySettingPreference.INSTANCE.get());
        sourceHistoryOption.applyTo(op);
    }

}
View Full Code Here

Examples of org.jitterbit.ui.widget.tree.ExpansionFilter.applyTo()

    }

    private void applyExpansionFilter() {
        if (expansionCondition != null) {
            ExpansionFilter filter = new ExpansionFilter(expansionCondition);
            filter.applyTo(tree);
        }
    }

    @Override
    public void setContextMenuProvider(PopupMenuRequestHandler provider) {
View Full Code Here

Examples of org.jquantlib.methods.finitedifferences.DPlusMinus.applyTo()

        if (e > 1.0e-6) {
            fail("norm of 1st derivative of cum minus Gaussian: " + e + "\ntolerance exceeded");
        }

        // check that the second derivative of cum is normal.derivative
        temp = D2.applyTo(yi);
        for (i=0; i < yd.size(); i++) {
            diff.set(i, yd.get(i) - temp.get(i));
        }
        e = Utilities.norm(diff, h);
        if (e > 1.0e-4) {
View Full Code Here

Examples of org.jquantlib.methods.finitedifferences.DZero.applyTo()

        // define the differential operators
        final DZero D = new DZero(N,h);
        final DPlusMinus D2 = new DPlusMinus(N,h);

        // check that the derivative of cum is Gaussian
        temp = D.applyTo(yi);
        for (i=0; i < y.size(); i++) {
            diff.set(i, y.get(i) - temp.get(i));
        }

        double e = Utilities.norm(diff, h);
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.