Examples of RadioInput


Examples of org.metaworks.inputter.RadioInput

    fd = type.getFieldDescriptor("ReceiverRole");
 
    //TODO loopingOption
    fd = type.getFieldDescriptor("LoopingOption");
    fd.setInputter(new RadioInput(new String[]{"Auto","Loop","Finish"}, new Integer[]{HumanApprovalLineActivity.LOOPINGOPTION_AUTO, HumanApprovalLineActivity.LOOPINGOPTION_REPEATONREJECT, HumanApprovalLineActivity.LOOPINGOPTION_FINISHONREJECT}));
    //fd.setDisplayName("");
   
    type.setName((String)ProcessDesigner.getInstance().getActivityTypeNameMap().get(HumanApprovalLineActivity.class));
  }
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

  }
 
  public static void metaworksCallback_changeMetadata(Type type){
 
    FieldDescriptor fd = type.getFieldDescriptor("TargetSource");
    fd.setInputter(new RadioInput(
        new String[]{
            "TargetActivityPV",
            "TargetActivity",
            "TargetActivityPV or targetActivity",
            "Flag"
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
   
    fd = type.getFieldDescriptor("Language")
    fd.setInputter(new RadioInput(
        new String[]{
                  "Javascript",
                              "Java"
                  },
        new Object[]{
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
       
    fd = type.getFieldDescriptor("Direction");   
    fd.setInputter(new RadioInput(
      new String[]{
        GlobalContext.getLocalizedMessage("parametercontext.direction.in.displayname", "in"),
        GlobalContext.getLocalizedMessage("parametercontext.direction.out.displayname", "out"),
        GlobalContext.getLocalizedMessage("parametercontext.direction.inout.displayname", "in-out")
      },
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

    "-- Incorrect example query)\n" +
    "-- insert into table1(ID, PASSWD) values(?, ?)";
 
  public static void metaworksCallback_changeMetadata(Type type) {
   
    type.getFieldDescriptor("Operation").setInputter(new RadioInput(
      new String[] {
          "SELECT",
          "INSERT, UPDATE, DELETE"
        },
      new Object[] {
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

    });
   
    FieldDescriptor fd;
    fd = type.getFieldDescriptor("Type");
    fd.setInputter(
      new RadioInput(
        new String[] { "Manual", "Auto" },
        new Object[] { Boolean.TRUE, Boolean.FALSE }
      )
    );
  }
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
   
    fd = type.getFieldDescriptor("InvocationType")
    fd.setInputter(
      new RadioInput(
        new String[]{"GET", "POST"},
        new Integer[]{
          new Integer(INVOC_TYPE_GET),
          new Integer(INVOC_TYPE_POST)
        }
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
       
    fd = type.getFieldDescriptor("Direction");   
    fd.setInputter(new RadioInput(
      new String[]{
        GlobalContext.getLocalizedMessage("parametercontext.direction.in.displayname", "in"),
        GlobalContext.getLocalizedMessage("parametercontext.direction.out.displayname", "out"),
        GlobalContext.getLocalizedMessage("parametercontext.direction.inout.displayname", "in-out")
      },
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

    type.removeFieldDescriptor("Val");
    type.removeFieldDescriptor("AssignValueInputType");
   
    FieldDescriptor fd;
    fd = type.getFieldDescriptor("AssignStyle");
    fd.setInputter(new RadioInput(
        new String[] { "Java Style", "Native Style" },
        new Object[] { JAVA_STYLE, NATIVE_STYLE }
        )
    );
   
View Full Code Here

Examples of org.metaworks.inputter.RadioInput

    fd = type.getFieldDescriptor("ReceiverRole");
 
    //TODO loopingOption
    fd = type.getFieldDescriptor("LoopingOption");
    fd.setInputter(new RadioInput(new String[]{"Auto","Loop","Finish"}, new Integer[]{FormApprovalLineActivity.LOOPINGOPTION_AUTO, FormApprovalLineActivity.LOOPINGOPTION_REPEATONREJECT, FormApprovalLineActivity.LOOPINGOPTION_FINISHONREJECT}));
    //fd.setDisplayName("");
   
    type.setName((String)ProcessDesigner.getInstance().getActivityTypeNameMap().get(FormApprovalLineActivity.class));
  }
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.