Package org.metaworks.inputter

Examples of org.metaworks.inputter.SelectInput


    FieldDescriptor fd;

    type.setName("Create and add variables corresponding child process definition?");
   
    fd = type.getFieldDescriptor("VariableCreationOption");
    fd.setInputter(new SelectInput(
        new Object[]{
            "Don't create variables",
            "Create if not exists",
            "Create with prefix"
        },
View Full Code Here


      )
    );

    fd = type.getFieldDescriptor("JmsProvider")
    fd.setInputter(
      new SelectInput(
        new Object[]{"JBossMQ", "SonicMQ", "ActiveMQ"}
      )
    );
  }
View Full Code Here

  }
 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd = type.getFieldDescriptor("InputType");
    fd.setDisplayName("Input Number Type");
    fd.setInputter(new SelectInput(
        new Object[]{
          "Long",
          "Double"
        },
        new Object[]{ 'L', 'D' }
      ));

    fd = type.getFieldDescriptor("ToType");
    fd.setDisplayName("Output Format");
    fd.setInputter(new SelectInput(
        new Object[]{
            "Integer",
            "Currency",
            "Number",
            "Percent"
View Full Code Here

    setName("Max");
  }
 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd = type.getFieldDescriptor("InputType");
    fd.setInputter(new SelectInput(
      new Object[]{
        "Double",
        "Long",
        "String"
      },
View Full Code Here

    setName("Min");
  }
 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd = type.getFieldDescriptor("InputType");
    fd.setInputter(new SelectInput(
      new Object[]{
        "Double",
        "Long",
        "String"
      },
View Full Code Here

  }

  public static void metaworksCallback_changeMetadata(Type type){
   
    FieldDescriptor fd = type.getFieldDescriptor("ToType");
    fd.setInputter(new SelectInput(
      new Object[]{
        "Integer",
        "Long",
        "Double"
      },
View Full Code Here

      }
     
    });
   
    fd = type.getFieldDescriptor("TriggeringMethod");
    fd.setInputter(new SelectInput(
        new String[]{
            GlobalContext.getLocalizedMessage("eventhandler.triggeringmethods.byeventbutton", "By Event Button (in web)"),
            GlobalContext.getLocalizedMessage("eventhandler.triggeringmethods.byapi", "By API invocation"),
            GlobalContext.getLocalizedMessage("eventhandler.triggeringmethods.whendelegation", "When a participant is delegated"),
            GlobalContext.getLocalizedMessage("eventhandler.triggeringmethods.whencompensation", "When the scope is compensated"),
View Full Code Here


  public static void metaworksCallback_changeMetadata(Type type) {

    FieldDescriptor fdSequence = type.getFieldDescriptor("Sequence");
    fdSequence.setInputter(new SelectInput(
        new Object[] {"BPM_ACLTABLE", "BPM_PROCDEF", "BPM_PROCDEFVER", "BPM_PROCINST", "BPM_PROCVAR", "BPM_ROLEMAPPING", "BPM_WORKITEM"},
        new Object[] {"ACLTABLE", "PROCDEF", "PROCDEFVER", "PROCINST", "PROCVAR", "ROLEMAPPING", "WORKITEM"})
    );
   
    FieldDescriptor fdType = type.getFieldDescriptor("sequence");
View Full Code Here

  }

  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd = type.getFieldDescriptor("InputType");
    fd.setDisplayName("Number Type");
    fd.setInputter(new SelectInput(
      new Object[]{
        "Double",
        "Integer",
        "Long"
      },
View Full Code Here

          }
        }
      }
      Object [] listFieldTypesInArray = new Object[fieldValues.size()];
      fieldValues.toArray(listFieldTypesInArray);
      fd.setInputter(new SelectInput(listFieldTypesInArray));
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
View Full Code Here

TOP

Related Classes of org.metaworks.inputter.SelectInput

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.