import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
+import eu.etaxonomy.cdm.common.CdmUtils;
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
import eu.etaxonomy.cdm.model.common.Representation;
if(getWizard().getRepresentation() != null){
Representation representation = getWizard().getRepresentation();
- text_label.setText(representation.getLabel());
- text_labelAbbreviation.setText(representation.getAbbreviatedLabel());
- text_description.setText(representation.getDescription());
+ text_label.setText(CdmUtils.Nz(representation.getLabel()));
+ text_labelAbbreviation.setText(CdmUtils.Nz(representation.getAbbreviatedLabel()));
+ text_description.setText(CdmUtils.Nz(representation.getDescription()));
}
setPageComplete(false);