public String doBrowse(String value,
Composite parent,
EditorContext context) {
String result = value;
FontFamilySelectionDialog fontFamilySelectionDialog =
new FontFamilySelectionDialog(parent.getShell());
fontFamilySelectionDialog.setSelection(convertValueToArray(value));
if (fontFamilySelectionDialog.open() == SelectionDialog.OK) {
result = convertArrayToValue(fontFamilySelectionDialog.getFonts(),
", ");
}
return result;
}