Project

General

Profile

Revision c25ddfcf

IDc25ddfcff0e36c4bc2c6fca8fce1a0eb4f6c27ef
Parent 3dfb5304
Child 9dda5772

Added by Cherian Mathew over 7 years ago

changed TimePeriod object to TimePeriodParser

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/DateDetailSection.java
16 16

  
17 17
import eu.etaxonomy.cdm.common.CdmUtils;
18 18
import eu.etaxonomy.cdm.model.common.TimePeriod;
19
import eu.etaxonomy.cdm.strategy.parser.TimePeriodParser;
19 20

  
20 21
/**
21 22
 * <p>
......
145 146
			getEntity().setEnd(end);
146 147
		} else if (eventSource == text_parseText) {
147 148
			cursorPosition = ((Text) text_parseText.getMainControl())
148
					.getCaretPosition();
149
			//FIXME:3.3MC----
150
			//setEntityInternally(TimePeriod.parseString(text_parseText.getText()));
151
			//FIXME:3.3MC----
149
					.getCaretPosition();			
150
			setEntityInternally(TimePeriodParser.parseString(text_parseText.getText()));			
152 151
		} else if (eventSource == text_freeText) {
153 152
			getEntity().setFreeText(text_freeText.getText());
154 153
		}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)