Project

General

Profile

« Previous | Next » 

Revision 6d75492c

Added by Alex Theys about 12 years ago

AT: commiting latest changes to the Palm Use data extension

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
250 250
import eu.etaxonomy.taxeditor.ui.section.user.GroupsByUserDetailSection;
251 251
import eu.etaxonomy.taxeditor.ui.section.user.UserDetailElement;
252 252
import eu.etaxonomy.taxeditor.ui.section.user.UserDetailSection;
253
import eu.etaxonomy.taxeditor.ui.section.userecords.UseRecordDetailElement;
254
import eu.etaxonomy.taxeditor.ui.section.userecords.UseRecordDetailSection;
253 255
import eu.etaxonomy.taxeditor.ui.section.vocabulary.DefinedTermDetailElement;
254 256
import eu.etaxonomy.taxeditor.ui.section.vocabulary.DefinedTermDetailSection;
255 257
import eu.etaxonomy.taxeditor.ui.section.vocabulary.NamedAreaDetailSection;
......
1526 1528
		REFERENCED_ENTITY, 
1527 1529
		TERM_VOCABULARY,
1528 1530
		NAMED_AREA, 
1529
		NAMED_AREA_LEVEL
1531
		NAMED_AREA_LEVEL, 
1532
		USE_RECORD
1530 1533
	}
1531 1534
	
1532 1535
	public AbstractFormSection createDefinedTermDetailSection(Class definedTermClass,
......
1724 1727
			section = new NamedAreaDetailSection(this, conversation, parentElement, 
1725 1728
					selectionProvider, style);
1726 1729
			break;
1730
		case USE_RECORD:
1731
			section = new UseRecordDetailSection(this, conversation, parentElement,
1732
					selectionProvider, style);
1733
			break;
1727 1734
		}
1735
		
1728 1736

  
1729 1737
		if (section == null) {
1730 1738
			throw new RuntimeException(
......
1859 1867
		case NAMED_AREA_LEVEL:
1860 1868
			element = new DefinedTermDetailElement<NamedAreaLevel>(this, parentElement);
1861 1869
			break;
1870
		case USE_RECORD:
1871
			//element = new UseRecordDetailElement(this, parentElement, style);
1872
			element = new UseRecordDetailElement(this, parentElement);
1873
			break;
1862 1874
		}
1863 1875

  
1864 1876
		if (element == null) {

Also available in: Unified diff