Package org.metaworks.inputter

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


 
  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

    "-- 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

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

  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

 
  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

    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

    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

 
  public static void metaworksCallback_changeMetadata(Type type) {
//    type.getFieldDescriptor("ExtValue1").setDisplayName("주 화면 아이디");
//    type.getFieldDescriptor("ExtValue2").setDisplayName("서브 화면 아이디");
    type.getFieldDescriptor("ApprovalType").setInputter(
        new RadioInput(
            new String[] { APPROVAL_TYPE_DRAFT, APPROVAL_TYPE_APPROVAL, APPROVAL_TYPE_COOPERATION, APPROVAL_TYPE_ARBITRARY_APPROVAL },
            new Integer[] { APPROVAL_TYPE_DRAFT_CODE, APPROVAL_TYPE_APPROVAL_CODE, APPROVAL_TYPE_COOPERATION_CODE, APPROVAL_TYPE_ARBITRARY_APPROVAL_CODE }
            )
        );
  }
View Full Code Here

  public final static String KEY_APPR_LINE_STATUS = "KEY_APPR_LINE_STATUS";
  public final static String KEY_APPR_KEY = "KEY_APPR_KEY";

  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd = type.getFieldDescriptor("RejectOption");
    fd.setInputter(new RadioInput(
        new String[] { "back to draft", "back to prev", "back to flag", "finish" }, new Integer[] {
            ExternalApprovalLineActivity.LOOPING_OPTION_BACK_TO_DRAFT,
            ExternalApprovalLineActivity.LOOPING_OPTION_BACK_TO_PREV,
            ExternalApprovalLineActivity.LOOPING_OPTION_BACK_TO_FLAG,
            ExternalApprovalLineActivity.LOOPING_OPTION_FINISH }));
View Full Code Here

TOP

Related Classes of org.metaworks.inputter.RadioInput

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.