private void setValue(String property) { if (fCurrentCategoryDefinition == null) { clearField(property); } else { if (property.equals(PROPERTY_NAME)) fNameText.setValue(fCurrentCategoryDefinition.getName(), true); else if (property.equals(PROPERTY_TYPE)) fLabelText.setValue(fCurrentCategoryDefinition.getLabel(), true); else if (property.equals(PROPERTY_DESC)) { ISiteDescription siteDesc = fCurrentCategoryDefinition.getDescription(); if (siteDesc == null) { clearField(property); } else { fDescriptionText.setValue(siteDesc.getText(), true); } } } }