Package org.metaworks.inputter

Examples of org.metaworks.inputter.RadioInput


   
    fd.setInputter(inputter);
    definitionIdInput = inputter;
   
    fd = getFieldDescriptor("VersionSelectOption");
    RadioInput versionSelectionOptionInput = new RadioInput(
        new String[]{
            "Use the CURRENT production version",
            "Use the production version AT THE INITIATED TIME",
            "Use the production version AT THE DESIGNED TIME",
            "Use the version JUST SELECTED",  
        },
        new Object[]{
            new Integer(ProcessDefinition.VERSIONSELECTOPTION_CURRENT_PROD_VER),
            new Integer(ProcessDefinition.VERSIONSELECTOPTION_PROD_VER_AT_INITIATED_TIME),
            new Integer(ProcessDefinition.VERSIONSELECTOPTION_PROD_VER_AT_DESIGNED_TIME),
            new Integer(ProcessDefinition.VERSIONSELECTOPTION_JUST_SELECTED),             
        }
    );
   
    versionSelectionOptionInput.setAlignHorizontally(false);
    fd.setInputter(versionSelectionOptionInput);
   
    String labelForMonitoringProperties = GlobalContext.getLocalizedMessage("propertygroupname.monitoring", "Monitoring Options");
    setAttributeIgnoresError("ViewAlsoInMainProcess",     "group",   labelForMonitoringProperties);
View Full Code Here


       
      }
    );
   
    fd = getFieldDescriptor("QueryMode");
    fd.setInputter(new RadioInput(
        new String[]{
            GlobalContext.getLocalizedMessage("activitytypes.org.uengine.kernel.databasemappingactivity.querymode.insert.displayname", "Insert"),
            GlobalContext.getLocalizedMessage("activitytypes.org.uengine.kernel.databasemappingactivity.querymode.update.displayname", "Update"),
            //GlobalContext.getLocalizedMessage("activitytypes.org.uengine.kernel.databasemappingactivity.querymode.insertorupdate.displayname", "Insert if not exist and Update if exist"),
            GlobalContext.getLocalizedMessage("activitytypes.org.uengine.kernel.databasemappingactivity.querymode.delete.displayname", "Delete"),
View Full Code Here

    FieldDescriptor fd = null;
   
    fd = type.getFieldDescriptor("Status");
    fd.setDisplayName("Terminate Status");
    fd.setInputter(
      new RadioInput(
        new String[] {
            "Stopped",
            "Cancelled",
            "Failed",
            "Completed"
View Full Code Here

public class ConfirmActivity extends FormActivity {
 
  public static void metaworksCallback_changeMetadata(Type type){
   
    FieldDescriptor fd = type.getFieldDescriptor("AutoComplete");
    fd.setInputter(new RadioInput(
        new String[]{
            "Yes",
            "No"
        }, new Object[]{
            true,
            false           
        }
      )
    );
    FieldDescriptor fd2 = type.getFieldDescriptor("ViewMode");
    fd2.setInputter(new RadioInput(
        new String[]{
            "Yes",
            "No"
        }, new Object[]{
            true,
View Full Code Here

    //type.setName("JMS Queueing");
    type.setName((String)ProcessDesigner.getInstance().getActivityTypeNameMap().get(JMSQueueActivity.class));
   
    fd = type.getFieldDescriptor("AcknowledgeType")
    fd.setInputter(
      new RadioInput(
        new String[]{"Auto(Recommended)", "Client acknowledge", "Dups Ok"},
        new Integer[]{
          new Integer(Session.AUTO_ACKNOWLEDGE),
          new Integer(Session.CLIENT_ACKNOWLEDGE),
          new Integer(Session.DUPS_OK_ACKNOWLEDGE),
View Full Code Here

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

   
    fd = type.getFieldDescriptor("FromRole");
    type.removeFieldDescriptor(fd);
   
    fd = type.getFieldDescriptor("HowWait");
    fd.setInputter(new RadioInput(
        new String[]{
            "while for given 'millisecond'",
            "for the next occurrance set by 'Cron Expression'",
            "until given 'WaitUntil'",
        }, new Object[]{
View Full Code Here

//    fd.setAttribute("hidden", new Boolean(true));
//    //fd.setDisplayName(GlobalContext.getLocalizedMessage("role.askwheninit.displayname"));
//   
    fd = type.getFieldDescriptor("DispatchingOption");
    //fd.setAttribute("hidden", new Boolean(true));
    fd.setInputter(new RadioInput(
      new String[]{
        GlobalContext.getLocalizedMessage("role.dispatchingoption.racing.displayname", "Racing"),
        GlobalContext.getLocalizedMessage("role.dispatchingoption.loadbalanced.displayname", "Load-balanced"),
        GlobalContext.getLocalizedMessage("role.dispatchingoption.setbyrightperson.displayname", "Set by right-person"),
        GlobalContext.getLocalizedMessage("role.dispatchingoption.all.displayname", "All")
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[]{HumanApprovalLineActivity.LOOPINGOPTION_AUTO, HumanApprovalLineActivity.LOOPINGOPTION_REPEATONREJECT, HumanApprovalLineActivity.LOOPINGOPTION_FINISHONREJECT}));
    //fd.setDisplayName("");
   
    type.setName((String)ProcessDesigner.getInstance().getActivityTypeNameMap().get(HumanApprovalLineActivity.class));
  }
View Full Code Here

  }
 
  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

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.