Package org.metaworks

Examples of org.metaworks.FieldDescriptor


public class StatusReportActivity extends DefaultActivity{
  private static final long serialVersionUID = org.uengine.kernel.GlobalContext.SERIALIZATION_UID;

  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
   
    fd = type.getFieldDescriptor("FieldName");
    fd.setInputter(new SelectInput(new String[]{"Info","Ext1","Ext2","Ext3","Ext4","Ext5","Ext6","Ext7","Ext8","Ext9","Ext10"}));
  }
View Full Code Here


  private static final long serialVersionUID = org.uengine.kernel.GlobalContext.SERIALIZATION_UID;

  ActivityFilter activityFilter;
 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd = type.getFieldDescriptor("AfterExecuteScript");
    fd.setInputter(new DateInput());
  }
View Full Code Here

public class LocalNateOnMessengerActivity extends DefaultActivity{
 
  private static final long serialVersionUID = GlobalContext.SERIALIZATION_UID;
 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
   
    fd = type.getFieldDescriptor("Contents");

/*    fd.setValidators(new Validator[]{new Validator(){

      public String validate(Object arg0, Instance arg1) {
        String contents = (String)arg0;
        if(contents.length() > 30)
          return "30�� �̸�8�θ� ��۰����մϴ�";
        return null;
      }
     
     
    }});
*/   
    fd = type.getFieldDescriptor("ToRole");
    fd.setDisplayName("Recipient");
   
  }
View Full Code Here

  private static final long serialVersionUID = org.uengine.kernel.GlobalContext.SERIALIZATION_UID;
  public static final int LANGUAGE_JAVASCRIPT        = 0;
  public static final int LANGUAGE_JAVA              = 1;
 
  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 final String DIRECTION_IN = "in".intern();
  public static final String DIRECTION_OUT = "out".intern();
  public static final String DIRECTION_INOUT = "in-out".intern();
 
  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

  public LocalSMSActivity(){
    setName("SMS Activity");
  }
 
  public static void metaworksCallback_changeMetadata(Type type){
    FieldDescriptor fd;
   
    fd = type.getFieldDescriptor("Contents");

/*    fd.setValidators(new Validator[]{new Validator(){

      public String validate(Object arg0, Instance arg1) {
        String contents = (String)arg0;
        if(contents.length() > 30)
          return "30 초 내에 메시지가 도착합니다.";
        return null;
      }
     
     
    }});
*/   
    fd = type.getFieldDescriptor("ToRole");
    fd.setDisplayName("Recipient");
   
    type.setName("Messaging Properties");
  }
View Full Code Here

    type.setName("Auto Scheduler CronExpression");
    type.setFieldOrder(new String[] {
        "Minutes", "Hours", "Days", "Months", "Years"
    });
   
    FieldDescriptor fd;
    fd = type.getFieldDescriptor("Minutes");
    fd.setDisplayName("Minutes After");
   
    fd = type.getFieldDescriptor("Hours");
    fd.setDisplayName("Hours After");
   
    fd = type.getFieldDescriptor("Days");
    fd.setDisplayName("Days After");
   
    fd = type.getFieldDescriptor("Months");
    fd.setDisplayName("Months After");
   
    fd = type.getFieldDescriptor("Years");
    fd.setDisplayName("Years After");
  }
View Full Code Here

    type.setName("Scheduler CronExpression");
    type.setFieldOrder(new String[] {
        "Type", "ManualScheCronExp", "AutoScheCronExp"
    });
   
    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 HTTPInvocationActivity(){
    setName("HTTP");
  }

  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 final String DIRECTION_IN = "in".intern();
  public static final String DIRECTION_OUT = "out".intern();
  public static final String DIRECTION_INOUT = "in-out".intern();
 
  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

TOP

Related Classes of org.metaworks.FieldDescriptor

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.