/** Get an initial set of action parameters associated with an upstream node. */
  public TreeMap<String, ActionParam> getInitialSourceParams() {
    TreeMap<String, ActionParam> params = new TreeMap<String, ActionParam>();

    {
      ActionParam param =
          new IntegerActionParam("Order", "Evaluates the MEL script in this order.", 100);
      params.put(param.getName(), param);
    }

    return params;
  }
  /** Get an initial set of action parameters associated with an upstream node. */
  public TreeMap<String, ActionParam> getInitialSourceParams() {
    TreeMap<String, ActionParam> params = new TreeMap<String, ActionParam>();

    {
      ArrayList<String> choices = new ArrayList<String>();
      choices.add(aModel);
      choices.add(aAnimation);

      ActionParam param =
          new EnumActionParam(
              aSceneType, "Is this a model scene or an animation scene.", aModel, choices);
      params.put(param.getName(), param);
    }

    addOldBuildTypeSourceParam(params);
    addNamespaceSourceParam(params);
    addPrefixNameSourceParam(params);

    return params;
  }
  /** Get an initial set of action parameters associated with an upstream node. */
  public TreeMap<String, ActionParam> getInitialSourceParams() {
    TreeMap<String, ActionParam> params = new TreeMap<String, ActionParam>();

    {
      ActionParam param =
          new IntegerActionParam("Order", "Loads the Houdini scene in this order.", 100);
      params.put(param.getName(), param);
    }

    {
      ActionParam param =
          new StringActionParam(
              "MergePattern",
              "Specifies the pattern used to select the components to be merged into the "
                  + "current scene.",
              "*");
      params.put(param.getName(), param);
    }

    return params;
  }
Exemple #4
0
  /** Get an initial set of action parameters associated with an upstream node. */
  public TreeMap<String, ActionParam> getInitialSourceParams() {
    TreeMap<String, ActionParam> params = new TreeMap<String, ActionParam>();

    {
      ActionParam param = new IntegerActionParam("AnotherInteger", "An integer parameter.", 123);
      params.put(param.getName(), param);
    }

    {
      ActionParam param = new DoubleActionParam("AnotherDouble", "An double parameter.", 123.456);
      params.put(param.getName(), param);
    }

    {
      ArrayList<String> colors = new ArrayList<String>();
      colors.add("Red");
      colors.add("Yello");
      colors.add("Green");
      colors.add("Cyan");
      colors.add("Blue");
      colors.add("Purple");

      ActionParam param = new EnumActionParam("AnotherEnum", "An enum parameter.", "Cyan", colors);
      params.put(param.getName(), param);
    }

    {
      ActionParam param = new IntegerActionParam("SecondInteger", "A second integer parameter.", 2);
      params.put(param.getName(), param);
    }

    {
      ActionParam param = new BooleanActionParam("AnotherBoolean", "A boolean parameter.", true);
      params.put(param.getName(), param);
    }

    {
      ActionParam param = new LinkActionParam("AnotherLink", "An upstream link parameter.", null);
      params.put(param.getName(), param);
    }

    return params;
  }