import eu.etaxonomy.taxeditor.ui.section.user.GroupsByUserDetailSection;
import eu.etaxonomy.taxeditor.ui.section.user.UserDetailElement;
import eu.etaxonomy.taxeditor.ui.section.user.UserDetailSection;
+import eu.etaxonomy.taxeditor.ui.section.userecords.UseCategorySection;
import eu.etaxonomy.taxeditor.ui.section.userecords.UseRecordDetailElement;
import eu.etaxonomy.taxeditor.ui.section.userecords.UseRecordDetailSection;
+import eu.etaxonomy.taxeditor.ui.section.userecords.UseSubCategorySection;
import eu.etaxonomy.taxeditor.ui.section.vocabulary.DefinedTermDetailElement;
import eu.etaxonomy.taxeditor.ui.section.vocabulary.DefinedTermDetailSection;
import eu.etaxonomy.taxeditor.ui.section.vocabulary.NamedAreaDetailSection;
element = new DefinedTermDetailElement<NamedAreaLevel>(this,
parentElement);
break;
- /*case USE_RECORD:
- element = new UseRecordDetailElement(this, parentElement, style);
- break;*/
+ case USE_RECORD:
+ //element = new UseRecordDetailElement(this, parentElement, style);
+ element = new UseRecordDetailElement(this, parentElement);
+ break;
}
if (element == null) {
* @version 1.0
*/
public static enum EntityDetailType {
- TEAM, TEAMMEMBER, ANNOTATION, CREDIT, DESCRIPTIONELEMENTSOURCE, EXTENSION, MARKER, MEDIA, DESCRIPTIONELEMENTMEDIA, MEDIAREPRESENTATION, MEDIAREPRESENTATIONPART, MODIFIER, NOMENCLATURALSTATUS, NAME_RELATIONSHIP, PROTOLOG, RIGHTS, SOURCE, SCOPE, DESCRIPTIONSOURCE, TYPEDESIGNATION, STATE_DATA, STATISTICAL_MEASUREMENT_VALUE, DESCRIBED_SPECIMEN, COLLECTING_AREA, DETERMINATION_EVENT, SPECIMEN_COLLECTION, IDENTIFIABLE_SOURCE_COLLECTION, GEOGRAPHICAL_SCOPE, SCOPE_RESTRICTION, MEMBER, GRANTED_AUTHORITY, GROUPS_BY_USER, TAXONOMIC_SCOPE, DETERMINATION_CURRENT, DETERMINATION_HISTORY
+ TEAM, TEAMMEMBER, ANNOTATION, CREDIT, DESCRIPTIONELEMENTSOURCE, EXTENSION, MARKER, MEDIA, DESCRIPTIONELEMENTMEDIA, MEDIAREPRESENTATION, MEDIAREPRESENTATIONPART, MODIFIER, NOMENCLATURALSTATUS, NAME_RELATIONSHIP, PROTOLOG, RIGHTS, SOURCE, SCOPE, DESCRIPTIONSOURCE, TYPEDESIGNATION, STATE_DATA, STATISTICAL_MEASUREMENT_VALUE, DESCRIBED_SPECIMEN, COLLECTING_AREA, DETERMINATION_EVENT, SPECIMEN_COLLECTION, IDENTIFIABLE_SOURCE_COLLECTION, GEOGRAPHICAL_SCOPE, SCOPE_RESTRICTION, MEMBER, GRANTED_AUTHORITY, GROUPS_BY_USER, TAXONOMIC_SCOPE, DETERMINATION_CURRENT, DETERMINATION_HISTORY, USE_CAT, USE_SUBCAT
}
/**
section = new TaxonomicScopeSection(this, conversation,
parentElement, style);
break;
+ case USE_CAT:
+ section = new UseCategorySection(this, conversation, parentElement,
+ style);
+ break;
+ case USE_SUBCAT:
+ section = new UseSubCategorySection(this, conversation, parentElement,
+ style);
+ break;
}
parentElement.addElement(section);
adapt(section);
}
- public AbstractDetailedDescriptionDetailElement createUseRecordDetailElement(
+ /*public AbstractDetailedDescriptionDetailElement createUseRecordDetailElement(
ICdmFormElement parentElement, DescriptionElementBase entity,
int style) {
AbstractDetailedDescriptionDetailElement useRecordElement = null;
adapt(useRecordElement);
parentElement.addElement(useRecordElement);
return useRecordElement;
- }
+ }*/
/**
* Creates a styled text as a part of the form.