Examples of DoubleDescriptor


Examples of net.sf.apptools.data.DoubleDescriptor

            new TestDescriptor("Probe-probe hetero-dimer formation"), //$NON-NLS-1$
            new TestDescriptor("Probe homo-dimer formation") //$NON-NLS-1$
           
          },
          new DataDescriptor[] {
              new DoubleDescriptor("Max Tm", //$NON-NLS-1$
                                  "Maximum Tm for " + //$NON-NLS-1$
                                  ProbeMakerConstants.qualityStrings[
                                  ProbeMakerConstants.GOOD_QUALITY] + " quality", //$NON-NLS-1$
                                  KEY_ALLOWED_COMPLEMENTARITY_SCORE, 0, 100),
              new DoubleDescriptor("Allowed Tm range", //$NON-NLS-1$
                                  "Allowed Tm above max for " + //$NON-NLS-1$
                                  ProbeMakerConstants.qualityStrings[
                                  ProbeMakerConstants.OK_QUALITY] + " quality", //$NON-NLS-1$
                                  KEY_COMPLEMENTARITY_SCORE_LIMIT, 0, 100)
View Full Code Here

Examples of net.sf.apptools.data.DoubleDescriptor

 
 
  public DINAMeltSecStructModule() {
    super(new TestDescriptor[] { new TestDescriptor("Secondary structure")}, //$NON-NLS-1$
        new DataDescriptor[] {
        new DoubleDescriptor("dG limit","Maximum dG allowed for highest quality (usually a negative number)",KEY_DG_LIMIT,-100.0,100.0), //$NON-NLS-1$ //$NON-NLS-2$
        new DoubleDescriptor("dG span","Maximum dG above limit allowed for intermediate quality",KEY_DG_SPAN,0,100), //$NON-NLS-1$ //$NON-NLS-2$
        new DoubleDescriptor("Folding temperature (�C)","The temperature in degrees celsius to use for the folding calculations",KEY_FOLD_TEMP,0,100), //$NON-NLS-1$ //$NON-NLS-2$
        new DoubleDescriptor("Na+ conc. (M)","The sodium ion concentration (molar) to use for the folding calculations",KEY_NA_CONC,0.01,1), //$NON-NLS-1$ //$NON-NLS-2$
        new DoubleDescriptor("Mg2+ conc. (M)","The magnesium ion concentration (molar) to use for the folding calculations",KEY_MG_CONC,0,1) //$NON-NLS-1$ //$NON-NLS-2$
    });
    setData(KEY_DG_LIMIT,new Double(-5.0));
    setData(KEY_DG_SPAN,new Double(2));
    setData(KEY_FOLD_TEMP,new Double(37));
    setData(KEY_NA_CONC,new Double(1));
View Full Code Here

Examples of net.sf.apptools.data.DoubleDescriptor

            new TestDescriptor("Probe-probe hetero-dimer formation"), //$NON-NLS-1$
            new TestDescriptor("Probe homo-dimer formation") //$NON-NLS-1$
           
          },
          new DataDescriptor[] {
              new DoubleDescriptor("Max Tm", //$NON-NLS-1$
                                  "Maximum Tm for " + //$NON-NLS-1$
                                  ProbeMakerConstants.qualityStrings[
                                  ProbeMakerConstants.GOOD_QUALITY] + " quality", //$NON-NLS-1$
                                  KEY_ALLOWED_COMPLEMENTARITY_SCORE, 0, 100),
              new DoubleDescriptor("Allowed Tm range", //$NON-NLS-1$
                                  "Allowed Tm above max for " + //$NON-NLS-1$
                                  ProbeMakerConstants.qualityStrings[
                                  ProbeMakerConstants.OK_QUALITY] + " quality", //$NON-NLS-1$
                                  KEY_COMPLEMENTARITY_SCORE_LIMIT, 0, 100)
View Full Code Here

Examples of org.jbpm.pvm.internal.wire.descriptor.DoubleDescriptor

  public DoubleBinding() {
    super("double");
  }

  protected AbstractDescriptor createDescriptor(String value, Element element, Parse parse) {
    DoubleDescriptor doubleDescriptor = new DoubleDescriptor();
    Double doubleValue;
    try {
      doubleValue = new Double(value);
    } catch (NumberFormatException e) {
      parse.addProblem(createValueExceptionMessage("'"+value+"' cannot be parsed to a double", element), element);
      return null;
    }
    doubleDescriptor.setValue(doubleValue);
    return doubleDescriptor;
  }
View Full Code Here

Examples of org.jbpm.wire.descriptor.DoubleDescriptor

*
*/
public class DoubleBinding extends BasicTypeBinding {

  protected AbstractDescriptor createDescriptor(String value) {
    DoubleDescriptor doubleDescriptor = new DoubleDescriptor();
    Double doubleValue;
    try {
      doubleValue = new Double(value);
    } catch (NumberFormatException e) {
      throw new NumberFormatException("'"+value+"' cannot be parsed to a double");
    }
    doubleDescriptor.setValue(doubleValue);
    return doubleDescriptor;
  }
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.