@Override
protected void createControls(ICdmFormElement formElement, FeatureTree entity, int style) {
+ 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));
+
toggleable_cache = formFactory.createToggleableTextField(
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