String display = getTermLabel(value);
lbl.setText(display);
CmsUiUtils.style(lbl, style == null ? FormStyle.propertyText.style() : style);
- if (editable)
+ processTermListLabel(value, lbl);
+ if (isEditable())
lbl.addMouseListener((MouseDoubleClick) (e) -> {
startEditing();
});
}
}
else {// empty
- if (editable && !isEditing()) {
+ if (isEditable() && !isEditing()) {
ToolBar toolBar = new ToolBar(placeholder, SWT.HORIZONTAL);
ToolItem addItem = new ToolItem(toolBar, SWT.FLAT);
styleAdd(addItem);
terms: for (String str : curr) {
Term term = termsManager.getTerm(str);
if (term == null) {
- log.warn("Ignoring term " + str + " as it was not found.");
+ log.warn("Ignoring term " + str + " for " + getNode() + ", as it was not found.");
continue terms;
}
res.add(term);