*/
package eu.etaxonomy.taxeditor.ui.section.feature;
+import org.eclipse.swt.widgets.Label;
+
import eu.etaxonomy.cdm.model.term.FeatureTree;
+import eu.etaxonomy.taxeditor.model.ColorResources;
+import eu.etaxonomy.taxeditor.preference.Resources;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
import eu.etaxonomy.taxeditor.ui.section.AbstractIdentifiableEntityDetailElement;
formElement, "Title Cache", entity.getTitleCache(),
entity.isProtectedTitleCache(), style);
toggleable_cache.getBtnToggleProtectTitleCache().setEnabled(false);
+
+ Label lblTermType = new Label(formElement.getLayoutComposite(), style);
+ lblTermType.setText("Term Type");
+ Label lblStructureText = new Label(formElement.getLayoutComposite(), style);
+ lblStructureText.setText(entity.getTermType().getMessage());
+ lblStructureText.setForeground(ColorResources.getColor(Resources.BLACK));
}
@Override