private GatheringEventUnitElement element_elevation;
private UriWithLabelElement uriPreferredStableUri;
private CheckboxElement checkIsPublish;
- private TermComboElement<DefinedTermBase> combo_status;
+ private StatusCollectionDetailSection section_status;
public DerivedUnitGeneralDetailElement(CdmFormFactory formFactory,
formElement, "Accession Number", entity.getAccessionNumber(),
style);
uriPreferredStableUri = formFactory.createUriWithLabelElement(formElement, "Pref. Stable URI", entity.getPreferredStableUri(), style);
- checkIsPublish = formFactory.createCheckbox(formElement, "Publish", entity.innerDerivedUnit().isPublish(), style);
+ section_status = formFactory.createStatusCollectionDetailSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(SourceCollectionDetailSection.class, entity.getClass().getCanonicalName()));
+ section_status.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
+ section_status.setEntity(entity);
+
+ checkIsPublish = formFactory.createCheckbox(formElement, "Publish", entity.innerDerivedUnit().isPublish(), style);
}