import javax.jcr.RepositoryException;
import org.argeo.cms.viewers.EditablePart;
+import org.argeo.eclipse.ui.EclipseUiUtils;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
Control child = getControl();
if (child instanceof Label) {
Label lbl = (Label) child;
- if (FormUtils.notEmpty(text))
+ if (EclipseUiUtils.isEmpty(text))
lbl.setText(message);
else if (readOnly)
setLinkValue(lbl, text);
lbl.setText(text);
} else if (child instanceof Text) {
Text txt = (Text) child;
- if (FormUtils.notEmpty(text)) {
+ if (EclipseUiUtils.isEmpty(text)) {
txt.setText("");
txt.setMessage(message);
} else