Package net.sf.mzmine.parameters.parametertypes

Examples of net.sf.mzmine.parameters.parametertypes.StringParameter


        parameter = new DoubleParameter(paramName, null);
      }

      if (radiobuttonFreeText.isSelected()) {
        parameter = new StringParameter(paramName, null);
      }

      if (radiobuttonCategorical.isSelected()) {
        String[] possibleValues = new String[categories.size()];
        if (possibleValues.length == 0) {
View Full Code Here


              uniqueValues.toArray(new String[0])));
          continue;
        }

        // Otherwise it is a free text parameter
        parameters.add(new StringParameter(name, null));

      }

    } catch (IOException ex) {
      logger.severe("Could not read file " + parameterFile);
View Full Code Here

              + MZmineCore.getMZmineVersion());
        } else if (textFiled.getName().equals("SEG")) {
          // Proteinmass
          textFiled.setValue("");
        } else {
          para.add(new StringParameter(lInput.getComment(), lInput
              .getName()));
        }
      }
    }
View Full Code Here

          .getElementName());

      if (type.equals(DoubleParameter.class.getSimpleName())) {
        currentParameter = new DoubleParameter(name, null);
      } else if (type.equals(StringParameter.class.getSimpleName())) {
        currentParameter = new StringParameter(name, null);
      } else if (type.equals(ComboParameter.class.getSimpleName())) {
        currentParameter = new ComboParameter<String>(name, null,
            new String[0]);
      } else {
        throw new SAXException("Unknown parameter type: " + type);
View Full Code Here

          .getElementName());

      if (type.equals(DoubleParameter.class.getSimpleName())) {
        currentParameter = new DoubleParameter(name, null);
      } else if (type.equals(StringParameter.class.getSimpleName())) {
        currentParameter = new StringParameter(name, null);
      } else if (type.equals(ComboParameter.class.getSimpleName())) {
        currentParameter = new ComboParameter<String>(name, null,
            new String[0]);
      } else {
        throw new SAXException("Unknown parameter type: " + type);
View Full Code Here

              .getElementName());

      if (type.equals(DoubleParameter.class.getSimpleName())) {
        currentParameter = new DoubleParameter(name, null);
      } else if (type.equals(StringParameter.class.getSimpleName())) {
        currentParameter = new StringParameter(name, null);
      } else if (type.equals(ComboParameter.class.getSimpleName())) {
        currentParameter = new ComboParameter<String>(name, null,
            new String[0]);
      } else {
        throw new SAXException("Unknown parameter type: " + type);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.parameters.parametertypes.StringParameter

Copyright © 2018 www.massapicom. 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.