Examples of Parameter


Examples of ptolemy.data.expr.Parameter

     */
    public RecursiveLattice(CompositeEntity container, String name) throws NameDuplicationException, IllegalActionException  {
        super(container, name);
        input.setTypeEquals(BaseType.DOUBLE);
        output.setTypeEquals(BaseType.DOUBLE);
        reflectionCoefficients = new Parameter(this, "reflectionCoefficients");
        reflectionCoefficients.setExpression("{0.804534, -0.820577, 0.521934, -0.205}");
    }
View Full Code Here

Examples of rocket.generator.rebind.util.Parameter

    jsni.append(this.getName());
    jsni.append('(');

    final Iterator<MethodParameter> parameters = this.getParameters().iterator();
    while (parameters.hasNext()) {
      final Parameter parameter = parameters.next();
      jsni.append(parameter.getJsniNotation());
    }

    jsni.append(')');

    return jsni.toString();
View Full Code Here

Examples of ru.yandex.qatools.allure.annotations.Parameter

    @After("setValueToAnyField() && withParameterAnnotation()")
    public void parameterValueChanged(JoinPoint joinPoint) {
        try {
            FieldSignature fieldSignature = (FieldSignature) joinPoint.getSignature();
            Parameter parameter = fieldSignature.getField().getAnnotation(Parameter.class);
            String name = parameter.value().isEmpty() ? fieldSignature.getName() : parameter.value();
            Allure.LIFECYCLE.fire(new AddParameterEvent(name, joinPoint.getArgs()[0].toString()));
        } catch (Exception ignored) {
        }
    }
View Full Code Here

Examples of ru.yandex.qatools.allure.model.Parameter

     *
     * @param context which can be changed
     */
    @Override
    public void process(TestCaseResult context) {
        context.getParameters().add(new Parameter()
                        .withName(getName())
                        .withValue(getValue())
                        .withKind(ParameterKind.ENVIRONMENT_VARIABLE)
        );
    }
View Full Code Here

Examples of ru.yandex.qatools.commons.model.Parameter

    }

    public Collection<Parameter> convertToParameters(Properties properties) {
        Collection<Parameter> parameters = new ArrayList<>();
        for (Object key : properties.keySet()) {
            Parameter parameter = new Parameter();
            parameter.setName(key.toString());
            parameter.setName(key.toString());
            parameter.setValue(properties.getProperty(key.toString()));
            parameters.add(parameter);
        }
        return parameters;
    }
View Full Code Here

Examples of se.bitcraze.crazyflie.Parameter

      return 2;
    }

    @Override
    public Object getValueAt(int rowIndex, int columnIndex) {
      Parameter v = variables[rowIndex];
      if (v == null)
        return "";
      switch (columnIndex) {
      case 0:
        return v.getName();

      default:
        break;
      }
      return v.getValue();
    }
View Full Code Here

Examples of se.sics.mrm.ChannelModel.Parameter

    textField.setColumns(4);
    textField.putClientProperty("id", id);
    textField.addPropertyChangeListener("value", new PropertyChangeListener() {
      public void propertyChange(PropertyChangeEvent e) {
        JFormattedTextField textField = (JFormattedTextField) e.getSource();
        Parameter id = (Parameter) textField.getClientProperty("id");
        Double val = ((Number) e.getNewValue()).doubleValue();
        channelModel.setParameterValue(id, val);
        if (!Parameter.getDefaultValue(id).equals(val)) {
          textField.setBackground(Color.LIGHT_GRAY);
          textField.setToolTipText("Default value: " + Parameter.getDefaultValue(id));
View Full Code Here

Examples of systole.domain.analysis.results.Parameter

        if (lsm.isSelectionEmpty()) {
            this.chartParameters.removeParameters();
        } else {
            int selectedRow = lsm.getMaxSelectionIndex();

            Parameter p = this.paramsModel.getParameter(selectedRow);

            this.jLblCurrentParam.setText(p.getDescription());

            this.txtXStartPoint.setText(p.getInitPos().getXasString());
            this.txtYStartPoint.setText(p.getInitPos().getYasString());

            this.txtXEndPoint.setText(p.getEndPos().getXasString());
            this.txtYEndPoint.setText(p.getEndPos().getYasString());
            this.txtParamValue.setText(p.getValueAsString());

            this.chartParameters.showParameter(selectedRow);
        }
    }
View Full Code Here

Examples of ucar.unidata.util.Parameter

    Variable ct = new Variable( ncfile, null, null, projection.getClassName());
    ct.setDataType( DataType.CHAR);
    ct.setDimensions( "");
    List params = projection.getProjectionParameters();
    for (int i = 0; i < params.size(); i++) {
      Parameter p = (Parameter) params.get(i);
      ct.addAttribute( new Attribute(p));
    }
    ct.addAttribute( new Attribute(_Coordinate.TransformType, "Projection"));
    ct.addAttribute( new Attribute(_Coordinate.Axes, "x y "));
    // fake data
View Full Code Here

Examples of webapp.ifaces.Parameter

    private static void printParams( final Parameter[] params, final int level )
    {
        for ( int i = 0; i < params.length; i++ )
        {
            System.out.println();
            final Parameter p = params[ i ];
            if ( p.getDescription() != null )
            {
                Main.printPadding( level );
                System.out.println( "Parameter description: " + p.getDescription() );
            }
            Main.printPadding( level );
            System.out.println( "Param name: " + p.getName() );
            Main.printPadding( level );
            System.out.println( "Param value: " + p.getValue() );
        }
    }
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.