Project

General

Profile

« Previous | Next » 

Revision c1489d4e

Added by Katja Luther over 5 years ago

adaption to ZonedDateTime in CdmFormFactory

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
4 4
package eu.etaxonomy.taxeditor.ui.element;
5 5

  
6 6
import java.net.URI;
7
import java.time.ZonedDateTime;
7 8
import java.util.ArrayList;
8 9
import java.util.Comparator;
9 10
import java.util.HashSet;
......
2911 2912
//        return dateElement;
2912 2913
//    }
2913 2914
    
2914
    public DateElement createDateElement(ICdmFormElement formElement, String labelText, DateTime dateTime, int style, boolean editableText){
2915
    public DateElement createDateElement(ICdmFormElement formElement, String labelText, ZonedDateTime dateTime, int style, boolean editableText){
2915 2916
    	 Label label = new Label(formElement.getLayoutComposite(), style);
2916 2917
         label.setText(labelText);
2917 2918
         label.setLayoutData(new TableWrapData(TableWrapData.LEFT, TableWrapData.MIDDLE, 1, 1));

Also available in: Unified diff