valueTypes);
combo.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent event) {
StyleValueType type = StyleValueType.get(combo.getText());
Element element = (Element) elements.get(type);
styleValueComposite.displayElement(element);
}
});
// add the text field that will display the value that the
// StyleValueComposites getValue method returns