Examples of addVariable()


Examples of VisualLogic.variables.VSFlowInfo.addVariable()

                               
                                Object obj=paramList.get(j);
                               
                                if (var.datatype==flowInfo.getDataType(obj))
                                {
                                    flowInfo.addVariable(var.name,var.datatype);
                                    flowInfo.setVariable(var.name,obj);
                                }
                            }
                           
                        }
View Full Code Here

Examples of ar.com.fdvs.dj.domain.DynamicJasperDesign.addVariable()

      if (dr.isTemplateImportVariables()){
        for (Iterator iter = jd.getVariablesList().iterator(); iter.hasNext();) {
          JRVariable element = (JRVariable) iter.next();
          try {
            if (element instanceof JRDesignVariable){
              djd.addVariable((JRDesignVariable) element);
            }
          } catch (JRException e) {
            if (log.isDebugEnabled()){
              log.warn(e.getMessage());
            }
View Full Code Here

Examples of com.caucho.jsp.cfg.TldTag.addVariable()

   
    for (int i = 0; i < _variables.size(); i++) {
      TldVariable var = _variables.get(i);

      try {
        tag.addVariable(var);
      } catch (Exception e) {
        log.log(Level.WARNING, e.toString(), e);
      }
    }
   
View Full Code Here

Examples of com.cloudera.lib.service.Instrumentation.addVariable()

  @Override
  public void postInit() throws ServiceException {
    super.postInit();
    Instrumentation instrumentation = getServer().get(Instrumentation.class);
    instrumentation.addVariable(INSTRUMENTATION_GROUP, "unmanaged.fs", new Instrumentation.Variable<Integer>() {
      @Override
      public Integer getValue() {
        return unmanagedFileSystems.get();
      }
    });
View Full Code Here

Examples of com.gitblit.wicket.ng.NgController.addVariable()

      list.add(item);
    }

    // inject an AngularJS controller with static data
    NgController ctrl = new NgController(ngCtrl);
    ctrl.addVariable(ngList, list);
    add(new HeaderContributor(ctrl));
  }

  protected class RepoListItem implements Serializable {
View Full Code Here

Examples of com.intellij.codeInsight.template.Template.addVariable()

    final TemplateManager templateManager = TemplateManager.getInstance(project);
    Template template = templateManager.createTemplate("", "");
    template.setToReformat(true);

    template.addTextSegment("class ");
    template.addVariable(DartPresentableUtil.getExpression(myClassName), false);
    template.addTextSegment("{\n");
    template.addEndVariable();
    template.addTextSegment("\n}\n");

    final Editor openedEditor = navigate(project, anchor.getTextOffset(), anchor.getContainingFile().getVirtualFile());
View Full Code Here

Examples of com.intellij.codeInsight.template.impl.TemplateImpl.addVariable()

        template.setToReformat(Boolean.valueOf(element.getAttributeValue("toReformat")));
        template.setToShortenLongNames(Boolean.valueOf(element.getAttributeValue("toShortenFQNames")));
        TemplateContext context = template.getTemplateContext();
        for (Object o : element.getChildren("variable")) {
            Element e = (Element) o;
            template.addVariable(e.getAttributeValue("name"),
                                 e.getAttributeValue("expression"),
                                 e.getAttributeValue("defaultValue"),
                                 Boolean.valueOf(e.getAttributeValue("alwaysStopAt")));
        }
        Element contextElement = element.getChild("context");
View Full Code Here

Examples of csp.datatypes.CSPSolution.addVariable()

          hasSolution = true;
          Integer value = Integer.parseInt(line.trim().substring(solutionPrefix.length()));
          String variable = "";
          if (i < dVars.size()) {
            variable = dVars.get(i++).getName();
            model.addVariable(variable, value);
          } else if (j < eVars.size()) {
            variable = eVars.get(j++).getName();
            model.addVariable(variable, value);
          }
        } else if (line.startsWith(hasSolutionPrefix)) {
View Full Code Here

Examples of dk.brics.xact.analysis.flowgraph.VariableFilter.addVariable()

      // XXX this could take quadratic time. it could be improved easily
      for (Edge<Statement,VariableFilter> edge : graph.getOutEdges(s)) {
        VariableFilter filter = edge.getData();
        for (Variable var : var_alias.getKeys())
          if (filter.containsVariable(var))
            filter.addVariable(var_alias.getRepresentativeKey(var)); // XXX: no need to remove var?
      }
    }
  }

  private void replaceNode(final FlowGraph graph, Statement old,
View Full Code Here

Examples of edu.gmu.seor.prognos.unbbayesplugin.jt.prs.bn.PotentialTable.addVariable()

    }
     
    //initialize Potential Table
    if (uNode instanceof ITabledVariable) {
      PotentialTable potTable = ((ITabledVariable)uNode).getPotentialTable();
      potTable.addVariable(uNode);
    }
   
    rede.addNode(uNode);
  }
  
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.