Examples of RadioInput


Examples of com.compomics.mslims.util.http.forms.inputs.RadioInput

              .getName()));
      }

      // Radio
      if (lInput.getType() == InputInterface.RADIOINPUT) {
        RadioInput input = (RadioInput) lInput;
        String[] elements = input.getChoices();
        para.add(new ComboParameter<String>(lInput.getComment(), lInput
            .getName(), elements));

      }
View Full Code Here

Examples of javango.forms.widgets.RadioWidget.RadioInput

   
    StringBuilder b = new StringBuilder("");
   
    int index=0;
    for(Entry<K,V> e : getChoices().entrySet()) {
      b.append(new RadioInput(attrs, e.getKey(), e.getValue().toString(), index++).render(name, value, finalAttrs));
    }

    return b.toString();
  }
View Full Code Here

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

Examples of org.metaworks.inputter.RadioInput

       
      }
    );
   
    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

Examples of org.metaworks.inputter.RadioInput

    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

Examples of org.metaworks.inputter.RadioInput

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

Examples of org.metaworks.inputter.RadioInput

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

Examples of org.metaworks.inputter.RadioInput

  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

Examples of org.metaworks.inputter.RadioInput

   
    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

Examples of org.metaworks.inputter.RadioInput

//    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
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.