Package com.projity.grouping.core.transform

Examples of com.projity.grouping.core.transform.TransformParameter


 
  public void execute(Object obj){
      labels.clear();
      valueComponents.clear();
      transform=(CommonTransform)obj;
      TransformParameter param;
      for (Iterator i=transform.getParameters().iterator();i.hasNext();){
          param=(TransformParameter)i.next();
          labels.add(/*new JLabel(*/Messages.getString(param.getId())/*)*/);
          ExtDateField dateChooser= new ExtDateField(); //ComponentFactory.createDateField();
         
          Date date = param.getValue() == null ? new Date(DateTime.midnightToday()) : new Date((Long)param.getValue());
          dateChooser.setValue(date);
          valueComponents.add(dateChooser);
      }
      clearComponents();

View Full Code Here


    if (get) {
    } else {
      Iterator p=transform.getParameters().iterator();
      Iterator c=valueComponents.iterator();
      while (p.hasNext()){
          TransformParameter param=(TransformParameter)p.next();
          ExtDateField comp=(ExtDateField)c.next();
          long d = DateTime.gmt(comp.getDateValue());
          param.setValue(d);
         
          transform.setParameter(param);
      }
    }
    return true;
View Full Code Here

TOP

Related Classes of com.projity.grouping.core.transform.TransformParameter

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.