- combo_extensionType = formFactory.createTermComboElement(ExtensionType.class, this, null, null, style);
- text_extensionValue = formFactory.createTextWithLabelElement(element, null, null, style);
- text_extensionValue.getLayoutComposite().setLayoutData(LayoutConstants.FILL_HORIZONTALLY());
+ combo_extensionType = formFactory.createDefinedTermComboElement(TermType.ExtensionType, element, "Type", null, style);
+ text_extensionValue = formFactory.createTextWithLabelElement(element, "Extension", null, style);
+ if (entity != null){
+ setEntity(entity);
+ }